LLMS_Blocks_Status_Tools::maybe_toggle_mode( string $tool )

Run tool actions on tool page form submission.

Parameters Parameters


(string) (Required) ID of the tool being run.

Top ↑

Return Return


Top ↑

Source Source

File: libraries/lifterlms-blocks/includes/class-llms-blocks-status-tools.php

	public function maybe_toggle_mode( $tool ) {

		if ( 'blocks-unmigrate' !== $tool ) {

		do_action( 'llms_blocks_unmigrate_posts' );


Top ↑

Changelog Changelog

Version Description
1.4.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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