LLMS_Blocks_Migrate::get_migrateable_post_types()
Get an array of post types which can be migrated.
Return Return
(array)
Source Source
File: libraries/lifterlms-blocks/includes/class-llms-blocks-migrate.php
public function get_migrateable_post_types() { /** * Filters the post types that can be migrated * * @since 1.3.3 * * @param string[] $post_types An array of string representing the post types that can be migrated. */ return apply_filters( 'llms_blocks_migrateable_post_types', array( 'course', 'lesson', 'llms_membership' ) ); }
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
Version | Description |
---|---|
1.7.0 | Memberships are migrateable. |
1.3.3 | Introduced. |