WP_Customize_Manager::register_section_type() – Register a customize section type.

You appear to be a bot. Output may be restricted

Description

Registers a customize section type.

Registered types are eligible to be rendered via JS and created dynamically.

Usage

WP_Customize_Manager::register_section_type( $section );

Parameters

$section
( string ) required – Name of a custom section which is a subclass of WP_Customize_Section.

Returns

void

Source

File name: wordpress/wp-includes/class-wp-customize-manager.php
Lines:

1 to 3 of 3
  public function register_section_type( $section ) {
    $this->registered_section_types[] = $section;
  }
 

 View on GitHub View on Trac