LLMS_Blocks_Migrate::get_migrateable_post_types()

Get an array of post types which can be migrated.


Return Return

(array)


Top ↑

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' ) );
	}


Top ↑

Changelog Changelog

Changelog
Version Description
1.7.0 Memberships are migrateable.
1.3.3 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.