WP_Block_Type::is_dynamic(): bool

In this article

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.

Return

bool Whether block type is dynamic.

Source

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

Changelog

VersionDescription
5.0.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.