WP_Customize_Manager::_render_custom_logo_partial()
Callback for rendering the custom logo, used in the custom_logo partial.
This method exists because the partial object and context data are passed into a partial's render_callback so we cannot use get_custom_logo() as the render_callback directly since it expects a blog ID as the first argument.
Method of the class: WP_Customize_Manager{}
No Hooks.
Return
String
. Custom logo.
Usage
$WP_Customize_Manager = new WP_Customize_Manager(); $WP_Customize_Manager->_render_custom_logo_partial();
Notes
Changelog
Since 4.5.0 | Introduced. |
WP_Customize_Manager::_render_custom_logo_partial() WP Customize Manager:: render custom logo partial code WP 6.7.2
public function _render_custom_logo_partial() { return get_custom_logo(); }