WP_Customize_Selective_Refresh::get_partial( string $id )
Retrieves a partial.
Description Description
Parameters Parameters
- $id
-
(string) (Required) Customize Partial ID.
Return Return
(WP_Customize_Partial|null) The partial, if set. Otherwise null.
Source Source
File: wp-includes/customize/class-wp-customize-selective-refresh.php
public function get_partial( $id ) { if ( isset( $this->partials[ $id ] ) ) { return $this->partials[ $id ]; } else { return null; } }
Expand full source code Collapse full source code View on Trac
Changelog Changelog
Version | Description |
---|---|
4.5.0 | Introduced. |