WP_HTML_Open_Elements::has_p_in_button_scope
Returns whether a P is in BUTTON scope.
Метод класса: WP_HTML_Open_Elements{}
Хуков нет.
Возвращает
bool. 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;
Заметки
| Смотрите: https://html.spec.whatwg.org/#has-an-element-in-button-scope |
Список изменений
| С версии 6.4.0 | Введена. |
Код WP_HTML_Open_Elements::has_p_in_button_scope() WP HTML Open Elements::has p in button scope WP 7.1.4
public function has_p_in_button_scope(): bool {
return $this->has_p_in_button_scope;
}