GC_Block_Type::is_dynamic()
最后更新于:2021-11-26 11:03:03
GC_Block_Type::is_dynamic()响应s 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.
响应
(bool) Whether block type is dynamic.
源文件
文件: gc-includes/class-gc-block-type.php
public function is_dynamic() {
return is_callable( $this->render_callback );
}