WP_Customize_Manager::_render_custom_logo_partial(): string

Callback for rendering the custom logo, used in the custom_logo partial.

Description

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.

See also

Return

string Custom logo.

Source

public function _render_custom_logo_partial() {
	return get_custom_logo();
}

Changelog

VersionDescription
4.5.0Introduced.

User Contributed Notes

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