Retrieve a customize panel.
(string) (Required) Panel ID to get.
(WP_Customize_Panel|void) Requested panel instance, if set.
File: wp-includes/class-wp-customize-manager.php
public function get_panel( $id ) { if ( isset( $this->panels[ $id ] ) ) { return $this->panels[ $id ]; } }
Version | Description |
---|---|
4.0.0 | Introduced. |
© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/classes/wp_customize_manager/get_panel