LLMS_Blocks_Migrate::unmigrate_posts()
Unmigrates migrated posts.
Description Description
Return Return
(void.)
Source Source
File: vendor/lifterlms/lifterlms-blocks/includes/class-llms-blocks-migrate.php
public function unmigrate_posts() { $posts = $this->get_migrated_posts( array( 'posts_per_page' => 250 ) ); if ( $posts->posts ) { foreach ( $posts->posts as $post ) { $this->remove_template_from_post( $post ); } } }
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
Version | Description |
---|---|
1.4.0 | Introduced. |