Initial commit: Atomaste website
This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
<?php
|
||||
/**
|
||||
* Customizer Control: Note.
|
||||
*/
|
||||
|
||||
// Exit if accessed directly.
|
||||
if ( ! defined( 'ABSPATH' ) ) {
|
||||
exit;
|
||||
}
|
||||
|
||||
if ( ! class_exists( 'Rara_Business_Note_Control' ) ) {
|
||||
|
||||
class Rara_Business_Note_Control extends WP_Customize_Control {
|
||||
|
||||
public function render_content(){ ?>
|
||||
<span class="customize-control-title">
|
||||
<?php echo esc_html( $this->label ); ?>
|
||||
</span>
|
||||
|
||||
<?php if( $this->description ){ ?>
|
||||
<span class="description customize-control-description">
|
||||
<?php echo wp_kses_post($this->description); ?>
|
||||
</span>
|
||||
<?php }
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user