Skip to content

Instantly share code, notes, and snippets.

@kwcjr
Last active February 17, 2023 14:37
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kwcjr/59c44c87c9b1efab301797e58a980793 to your computer and use it in GitHub Desktop.
Save kwcjr/59c44c87c9b1efab301797e58a980793 to your computer and use it in GitHub Desktop.
Trigger Elementor DB Update
<?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