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

WP_Customize_Control::maybe_render() public WP 3.4.0

Check capabilities and render the control.

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

Возвращает

Null. Ничего.

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

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

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

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

Код WP_Customize_Control::maybe_render() WP 5.5.3

<?php
final public function maybe_render() {
	if ( ! $this->check_capabilities() ) {
		return;
	}

	/**
	 * Fires just before the current Customizer control is rendered.
	 *
	 * @since 3.4.0
	 *
	 * @param WP_Customize_Control $this WP_Customize_Control instance.
	 */
	do_action( 'customize_render_control', $this );

	/**
	 * Fires just before a specific Customizer control is rendered.
	 *
	 * The dynamic portion of the hook name, `$this->id`, refers to
	 * the control ID.
	 *
	 * @since 3.4.0
	 *
	 * @param WP_Customize_Control $this WP_Customize_Control instance.
	 */
	do_action( "customize_render_control_{$this->id}", $this );

	$this->render();
}