mirror of
https://github.com/WordPress/WordPress.git
synced 2025-01-09 01:48:21 +01:00
9a49b70239
Note: This is enforced by WPCS 3.0.0. Follow-up to [56536]. Props jrf. See #59161, #58831. Built from https://develop.svn.wordpress.org/trunk@56547 git-svn-id: http://core.svn.wordpress.org/trunk@56059 1a063a9b-81f0-0310-95a4-ce76da25c4cd
30 lines
547 B
PHP
30 lines
547 B
PHP
<?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/>';
|
|
}
|
|
}
|
|
}
|
|
}
|