Skip to content

Instantly share code, notes, and snippets.

@mikejolley
Last active Dec 30, 2015
Embed
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