WP_HTML_Open_Elements::has_p_in_button_scopepublicWP 6.4.0

Returns whether a P is in BUTTON scope.

Метод класса: WP_HTML_Open_Elements{}

Хуков нет.

Возвращает

true|false. Whether a P is in BUTTON scope.

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

$WP_HTML_Open_Elements = new WP_HTML_Open_Elements();
$WP_HTML_Open_Elements->has_p_in_button_scope(): bool;

Заметки

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

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

Код WP_HTML_Open_Elements::has_p_in_button_scope() WP 7.0.4

public function has_p_in_button_scope(): bool {
	return $this->has_p_in_button_scope;
}