LLMS_Blocks_Status_Tools::maybe_toggle_mode( string $tool )
Run tool actions on tool page form submission.
Parameters Parameters
- $tool
-
(string) (Required) ID of the tool being run.
Return Return
(void)
Source Source
File: libraries/lifterlms-blocks/includes/class-llms-blocks-status-tools.php
public function maybe_toggle_mode( $tool ) { if ( 'blocks-unmigrate' !== $tool ) { return; } do_action( 'llms_blocks_unmigrate_posts' ); }
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
Version | Description |
---|---|
1.4.0 | Introduced. |