WP_HTML_Active_Formatting_Elements::count()publicWP 6.4.0

Returns how many nodes are currently in the stack of active formatting elements.

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

Хуков нет.

Возвращает

int. How many node are in the stack of active formatting elements.

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

$WP_HTML_Active_Formatting_Elements = new WP_HTML_Active_Formatting_Elements();
$WP_HTML_Active_Formatting_Elements->count();

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

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

Код WP_HTML_Active_Formatting_Elements::count() WP 6.6.2

public function count() {
	return count( $this->stack );
}