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

WP_Customize_Panel::maybe_render() public WP 4.0.0

Check capabilities and render the panel.

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

Возвращает

Null. Ничего.

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

$WP_Customize_Panel = new WP_Customize_Panel();
$WP_Customize_Panel->maybe_render();

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

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

Код WP_Customize_Panel::maybe_render() WP 5.5.1

wp-includes/class-wp-customize-panel.php
<?php
final public function maybe_render() {
	if ( ! $this->check_capabilities() ) {
		return;
	}

	/**
	 * Fires before rendering a Customizer panel.
	 *
	 * @since 4.0.0
	 *
	 * @param WP_Customize_Panel $this WP_Customize_Panel instance.
	 */
	do_action( 'customize_render_panel', $this );

	/**
	 * Fires before rendering a specific Customizer panel.
	 *
	 * The dynamic portion of the hook name, `$this->id`, refers to
	 * the ID of the specific Customizer panel to be rendered.
	 *
	 * @since 4.0.0
	 */
	do_action( "customize_render_panel_{$this->id}" );

	$this->render();
}