Title: WP_Customize_Manager::get_panel
Published: September 4, 2014
Last modified: August 20, 2026

---

# WP_Customize_Manager::get_panel( string $id ): 󠀁[WP_Customize_Panel](https://developer.wordpress.org/reference/classes/wp_customize_panel/)󠁿|null

## In this article

 * [Parameters](https://developer.wordpress.org/reference/classes/wp_customize_manager/get_panel/?output_format=md#parameters)
 * [Return](https://developer.wordpress.org/reference/classes/wp_customize_manager/get_panel/?output_format=md#return)
 * [Source](https://developer.wordpress.org/reference/classes/wp_customize_manager/get_panel/?output_format=md#source)
 * [Changelog](https://developer.wordpress.org/reference/classes/wp_customize_manager/get_panel/?output_format=md#changelog)

Retrieves a customize panel.

## 󠀁[Parameters](https://developer.wordpress.org/reference/classes/wp_customize_manager/get_panel/?output_format=md#parameters)󠁿

 `$id`stringrequired

Panel ID to get.

## 󠀁[Return](https://developer.wordpress.org/reference/classes/wp_customize_manager/get_panel/?output_format=md#return)󠁿

 [WP_Customize_Panel](https://developer.wordpress.org/reference/classes/wp_customize_panel/)
|null Requested panel instance, if set.

## 󠀁[Source](https://developer.wordpress.org/reference/classes/wp_customize_manager/get_panel/?output_format=md#source)󠁿

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

[View all references](https://developer.wordpress.org/reference/files/wp-includes/class-wp-customize-manager.php/)
[View on Trac](https://core.trac.wordpress.org/browser/tags/7.1/src/wp-includes/class-wp-customize-manager.php#L3926)
[View on GitHub](https://github.com/WordPress/wordpress-develop/blob/7.1/src/wp-includes/class-wp-customize-manager.php#L3926-L3930)

## 󠀁[Changelog](https://developer.wordpress.org/reference/classes/wp_customize_manager/get_panel/?output_format=md#changelog)󠁿

| Version | Description | 
| [4.0.0](https://developer.wordpress.org/reference/since/4.0.0/) | Introduced. |

## User Contributed Notes

You must [log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fdeveloper.wordpress.org%2Freference%2Fclasses%2Fwp_customize_manager%2Fget_panel%2F)
before being able to contribute a note or feedback.