Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public function myplugin_activate() {
- // Our function hooked to the plugin activation
- add_action('init', array($this, 'add_geo_terms'));
- }
- register_activation_hook( __FILE__, 'myplugin_activate' );
- public function add_geo_terms() {
- // Your function
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement