Last active
February 17, 2023 14:37
-
-
Save kwcjr/59c44c87c9b1efab301797e58a980793 to your computer and use it in GitHub Desktop.
Trigger Elementor DB Update
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Snippet Action: Trigger Elementor DB Update. | |
* Snippet Type: Return info from Child Sites. ( IMPORTANT! This will make it run one time ) | |
* Snippet Author: Keith Crain ( Kronoslabs.io ) | |
*/ | |
add_action( 'plugins_loaded', 'klbs2345_trigger_elementor_db_update' ); | |
function klbs2345_trigger_elementor_db_update() { | |
if ( class_exists( 'Background_Task_Manager' ) ) { | |
Background_Task_Manager::continue_run(); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment