LLMS_Abstract_Generator_Posts::handle_reusable_blocks( LLMS_Post_Model $post, array $raw )
Handle importing of reusable blocks stored in post content
Description Description
Parameters Parameters
- $post
-
(Required) Instance of a post model.
- $raw
-
(Required) Array of raw data.
Return Return
(null|bool) Returns null
when importing is disabled, false
when there are no blocks to import, and true
on success.
Source Source
File: includes/abstracts/llms-abstract-generator-posts.php
Changelog Changelog
Version | Description |
---|---|
4.7.0 | Introduced. |