WP_Block_Type::is_dynamic()
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.
Description Description
Return Return
(boolean) Whether block type is dynamic.
Source Source
File: wp-includes/class-wp-block-type.php
public function is_dynamic() { return is_callable( $this->render_callback ); }
Expand full source code Collapse full source code View on Trac
Changelog Changelog
Version | Description |
---|---|
5.0.0 | Introduced. |