LLMS_Blocks_Migrate::__construct()

Constructor.


Description Description


Source Source

File: vendor/lifterlms/lifterlms-blocks/includes/class-llms-blocks-migrate.php

	public function __construct() {

		add_action( 'admin_enqueue_scripts', array( $this, 'migrate_post' ), 2 );
		add_action( 'wp', array( $this, 'remove_template_hooks' ) );
		add_action( 'llms_blocks_unmigrate_posts', array( $this, 'unmigrate_posts' ) );

		add_filter( 'llms_blocks_is_post_migrated', array( __CLASS__, 'check_sales_page' ), 15, 2 );

	}

Top ↑

Changelog Changelog

Changelog
Version Description
1.4.0 Add action for unmigrating posts from the Tools & Utilities status screen.
1.0.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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