Last active
February 3, 2021 17:37
-
-
Save wpmu-authors/f356a899b7f009d136644383339db4f6 to your computer and use it in GitHub Desktop.
basic-example.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
register_activation_hook( __FILE__, 'my_plugin_activation' ); | |
function my_plugin_activation() { | |
add_option( 'my_plugin_activated', time() ); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment