Function Reference: geodir_custom_google_maps_plugin_activated
Summary
This function has not been documented yet.
Source File
geodir_custom_google_maps_plugin_activated() is located in geodir_custom_google_maps/geodir_custom_gmaps_functions.php [Line: 16]
Source Code
function geodir_custom_google_maps_plugin_activated($plugin) {
if (!get_option('geodir_installed')) {
$file = plugin_basename(__FILE__);
if ($file == $plugin) {
$all_active_plugins = get_option( 'active_plugins', array() );
if (!empty($all_active_plugins) && is_array($all_active_plugins)) {
foreach ($all_active_plugins as $key => $plugin) {
if ($plugin ==$file) {
unset($all_active_plugins[$key]);
}
}
}
update_option('active_plugins', $all_active_plugins);
}
wp_die(__('There was an issue determining where GeoDirectory Plugin is installed and activated. Please install or activate GeoDirectory Plugin.', GEODIRCUSTOMGMAPS_TEXTDOMAIN));
}
}