WP_Block_Type::is_dynamic()publicWP 5.0.0

Returns true if the block type is dynamic, or false otherwise. A dynamic block is one which defers its rendering to occur on-demand at runtime.

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

Хуков нет.


true|false. Whether block type is dynamic.


$WP_Block_Type = new WP_Block_Type();

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

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

Код WP_Block_Type::is_dynamic() WP 6.2.2

public function is_dynamic() {
	return is_callable( $this->render_callback );