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.

{} It's a method of the class: WP_Block_Type{}

No Hooks.


true|false. Whether block type is dynamic.


$WP_Block_Type = new WP_Block_Type();


Since 5.0.0 Introduced.

Code of WP_Block_Type::is_dynamic() WP 6.0

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