diff --git a/lazy-blocks.php b/lazy-blocks.php index b266bc96..fbe86bb0 100644 --- a/lazy-blocks.php +++ b/lazy-blocks.php @@ -300,6 +300,18 @@ public function add_block( $data ) { return $this->blocks()->add_block( $data ); } + /** + * Add lazyblocks block collection. + * + * This method is does nothing in Free plugin, + * the actual implementation is in Pro plugin. + * + * @param array $data - collection data. + */ + public function add_collection( $data ) { + do_action( 'lzb/add_collection', $data ); + } + /** * Add lazyblocks template. *