WordPress как на ладони
Недорогой хостинг для сайтов на WordPress: wordpress.jino.ru
функция не описана

WP_Customize_Manager::_render_custom_logo_partial() public WP 4.5.0

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. When WP no longer supports PHP 5.3, this method can be removed in favor of an anonymous function.

Это метод класса: WP_Customize_Manager{}

Хуков нет.

Возвращает

Строку. Custom logo.

Использование

$WP_Customize_Manager = new WP_Customize_Manager();
$WP_Customize_Manager->_render_custom_logo_partial();

Заметки

  • Смотрите: WP_Customize_Manager::register_controls()

Список изменений

С версии 4.5.0 Введена.

Код WP_Customize_Manager::_render_custom_logo_partial() WP 5.5.1

wp-includes/class-wp-customize-manager.php
<?php
public function _render_custom_logo_partial() {
	return get_custom_logo();
}