Alert: This function’s access is marked private. This means it is not intended for use by plugin or theme developers, only in other core functions. It is listed here for completeness.
LLMS_Blocks_Migrate::remove_template_from_post( WP_Post $post )
Remove post type templates and any LifterLMS Blocks from a given post.
Description Description
Parameters Parameters
- $post
-
(Required) Post object.
Return Return
(bool)
Source Source
File: libraries/lifterlms-blocks/includes/class-llms-blocks-migrate.php
Changelog Changelog
Version | Description |
---|---|
1.8.0 | Get all post type's template with deprecated blocks versions merged. |
1.4.0 | Introduced. |