wp-includes/class-wp-customize-panel.php:162$managerWP_Customize_Manager$idstring$argsarrayoptionalarray()$priorityintdefault: 160
$capabilitystringdefault: edit_theme_options
$theme_supportsmixed[]
$titlestring
$descriptionstring
$typestring
$active_callbackcallable
public function __construct( $manager, $id, $args = array() ) { $keys = array_keys( get_object_vars( $this ) ); foreach ( $keys as $key ) { if ( isset( $args[ $key ] ) ) { $this->$key = $args[ $key ]; } } $this->manager = $manager; $this->id = $id; if ( empty( $this->active_callback ) ) { $this->active_callback = array( $this, 'active_callback' ); } self::$instance_count += 1; $this->instance_number = self::$instance_count; $this->sections = array(); // Users cannot customize the $sections array. }Introduced in 4.0.0. Unchanged from 6.7.7 through 7.1.0.
Signature, return type and hooks compared across 5 parsed releases.
src/wp-includes/class-wp-customize-panel.php, and regenerated for each WordPress release so it tracks the code rather than a snapshot of it.