WP_Customize_Selective_Refresh::get_partial( string $id ): WP_Customize_Partial|null

In this article

Retrieves a partial.

Parameters

$idstringrequired
Customize Partial ID.

Return

WP_Customize_Partial|null The partial, if set. Otherwise null.

Source

public function get_partial( $id ) {	if ( isset( $this->partials[ $id ] ) ) {	return $this->partials[ $id ];	} else {	return null;	} } 

Changelog

VersionDescription
4.5.0Introduced.

User Contributed Notes

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