site_oueb_2/wp-content/themes/twentytwenty/classes/class-twentytwenty-separato...

31 lines
548 B
PHP
Raw Normal View History

2022-11-22 20:23:31 +01:00
<?php
/**
* Customizer Separator Control settings for this theme.
*
* @package WordPress
* @subpackage Twenty_Twenty
* @since Twenty Twenty 1.0
*/
if ( class_exists( 'WP_Customize_Control' ) ) {
if ( ! class_exists( 'TwentyTwenty_Separator_Control' ) ) {
/**
* Separator Control.
*
* @since Twenty Twenty 1.0
*/
class TwentyTwenty_Separator_Control extends WP_Customize_Control {
/**
* Render the hr.
*
* @since Twenty Twenty 1.0
*/
public function render_content() {
echo '<hr/>';
}
}
}
}