Skip to content

Instantly share code, notes, and snippets.

@paulmiller3000
Created October 8, 2019 11:43
Show Gist options
  • Save paulmiller3000/26ae8b0d1002adc6fd97ce7d8d598313 to your computer and use it in GitHub Desktop.
Save paulmiller3000/26ae8b0d1002adc6fd97ce7d8d598313 to your computer and use it in GitHub Desktop.
/**
* Begins execution of the plugin.
*
* Since everything within the plugin is registered via hooks,
* then kicking off the plugin from this point in the file does
* not affect the page life cycle.
*
* @since 1.0.0
*/
function run_p3k_galactica() {
if (p3kg_check_requirements()) {
$plugin = new P3k_Galactica();
$plugin->run();
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment