Skip to content

Instantly share code, notes, and snippets.

@Codevz
Last active June 18, 2022 10:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Codevz/87579515f3d561fe72d56f821ed37c59 to your computer and use it in GitHub Desktop.
Save Codevz/87579515f3d561fe72d56f821ed37c59 to your computer and use it in GitHub Desktop.
XTRA WP Theme - Action hook run your PHP code after importing widgets in demo importer, https://xtratheme.com/
<?php
/**
* With this function you can run your PHP code after importing widgets in demo importer.
*
*/
function my_prefix_after_import_widgets() {
// Run you custom PHP codes here.
}
add_action( 'codevz/importer/after_import_widgets', 'my_prefix_after_import_widgets' );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment