'Advanced Custom Fields by WP Engine (any version)', 'slug' => 'advanced-custom-fields/acf.php', 'url' => 'https://wordpress.org/plugins/advanced-custom-fields/', 'required' => true ); } // Check for Leaflet Map by bozdoz (any version) if (!class_exists('Leaflet_Map') && !defined('LEAFLET_MAP__PLUGIN_VERSION')) { $missing_plugins[] = array( 'name' => 'Leaflet Map by bozdoz (any version)', 'slug' => 'leaflet-map/leaflet-map.php', 'url' => 'https://wordpress.org/plugins/leaflet-map/', 'required' => true ); } // Check for Extensions for Leaflet Map by Hupe13 if (!defined('LEAFEXT_PLUGIN_FILE') && !class_exists('Leafext_Admin')) { $missing_plugins[] = array( 'name' => 'Extensions for Leaflet Map by Hupe13', 'slug' => 'extensions-leaflet-map/extensions-leaflet-map.php', 'url' => 'https://wordpress.org/plugins/extensions-leaflet-map/', 'required' => true ); } return $missing_plugins; } /** * Display admin notice for missing plugins */ function rfcc_admin_notices() { $missing_plugins = rfcc_check_plugin_dependencies(); if (!empty($missing_plugins)) { echo '
The following plugins are required for Route Finder to function properly:
'; echo 'Note: Route Finder will not activate until all required dependencies are installed and activated.
'; echo '