class-twentytwenty-separator-control.php 476 B

1234567891011121314151617181920212223242526
  1. <?php
  2. /**
  3. * Customizer Separator Control settings for this theme.
  4. *
  5. * @package WordPress
  6. * @subpackage Twenty_Twenty
  7. * @since Twenty Twenty 1.0
  8. */
  9. if ( class_exists( 'WP_Customize_Control' ) ) {
  10. if ( ! class_exists( 'TwentyTwenty_Separator_Control' ) ) {
  11. /**
  12. * Separator Control.
  13. */
  14. class TwentyTwenty_Separator_Control extends WP_Customize_Control {
  15. /**
  16. * Render the hr.
  17. */
  18. public function render_content() {
  19. echo '<hr/>';
  20. }
  21. }
  22. }
  23. }