27 lines
464 B
PHP
27 lines
464 B
PHP
|
<?php
|
||
|
/**
|
||
|
* Customizer Separator Control settings for this theme.
|
||
|
*
|
||
|
* @package WordPress
|
||
|
* @subpackage Twenty_Twenty
|
||
|
* @since 1.0.0
|
||
|
*/
|
||
|
|
||
|
if ( class_exists( 'WP_Customize_Control' ) ) {
|
||
|
|
||
|
if ( ! class_exists( 'TwentyTwenty_Separator_Control' ) ) {
|
||
|
/**
|
||
|
* Separator Control.
|
||
|
*/
|
||
|
class TwentyTwenty_Separator_Control extends WP_Customize_Control {
|
||
|
/**
|
||
|
* Render the hr.
|
||
|
*/
|
||
|
public function render_content() {
|
||
|
echo '<hr/>';
|
||
|
}
|
||
|
|
||
|
}
|
||
|
}
|
||
|
}
|