/** * WordPress action to supply an init action for plugins that would like to use Geo Mashup APIs. * * @since 1.4 * @uses do_action() geo_mashup_init Fired when Geo Mashup is loaded and ready. */ public static function dependent_init() { global $geo_mashup_options; do_action('geo_mashup_init'); if (class_exists('GeoMashupSearch') and defined('GeoMashupSearch::VERSION')) { // The old search plugin is active - enable native geo search and flag for deactivation self::$deactivate_geo_search_basename = GeoMashupSearch::get_instance()->basename; $geo_mashup_options->set_valid_options(array('overall' => array('enable_geo_search' => 'true'))); $geo_mashup_options->save(); } }