Used By
Used By | Description |
---|---|
wp-includes/class-wp-block-type.php: WP_Block_Type::render() | Renders the block type output for given attributes. |
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.
(boolean) Whether block type is dynamic.
File: wp-includes/class-wp-block-type.php
public function is_dynamic() { return is_callable( $this->render_callback ); }
Version | Description |
---|---|
5.0.0 | Introduced. |
© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/classes/wp_block_type/is_dynamic