[ Index ]

PHP Cross Reference of WordPress

title

Body

[close]

/wp-content/themes/twentytwenty/classes/ -> class-twentytwenty-separator-control.php (source)

   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  
  10  if ( class_exists( 'WP_Customize_Control' ) ) {
  11  
  12      if ( ! class_exists( 'TwentyTwenty_Separator_Control' ) ) {
  13          /**
  14           * Separator Control.
  15           *
  16           * @since Twenty Twenty 1.0
  17           */
  18          class TwentyTwenty_Separator_Control extends WP_Customize_Control {
  19              /**
  20               * Render the hr.
  21               *
  22               * @since Twenty Twenty 1.0
  23               */
  24  			public function render_content() {
  25                  echo '<hr/>';
  26              }
  27  
  28          }
  29      }
  30  }


Generated: Fri Nov 15 01:00:02 2024 Cross-referenced by PHPXref 0.7.1