register_activation_hook
only runs once i.e. when the plugin is first activated – use the init
hook instead to “boot up” your plugin:
add_action( 'init', 'LocatorMap::init' );
register_activation_hook
only runs once i.e. when the plugin is first activated – use the init
hook instead to “boot up” your plugin:
add_action( 'init', 'LocatorMap::init' );