Skip to content

Instantly share code, notes, and snippets.


mikejolley/gist:77ba909de06f5fe0fad2 Secret

Last active Dec 30, 2015
What would you like to do?
Basic register_activation_hook example
register_activation_hook( __FILE__, 'your_plugin_activation_function' );
function your_plugin_activation_function() {
// Do stuff here
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.