WP_Customize_Manager::get_panel( string $id )

Retrieve a customize panel.


Parameters Parameters

$id

(string) (Required) Panel ID to get.


Top ↑

Return Return

(WP_Customize_Panel|void) Requested panel instance, if set.


Top ↑

Source Source

File: wp-includes/class-wp-customize-manager.php

	public function get_panel( $id ) {
		if ( isset( $this->panels[ $id ] ) ) {
			return $this->panels[ $id ];
		}
	}

Top ↑

Changelog Changelog

Changelog
Version Description
4.0.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.