rwmb_google_maps_url

rwmb_google_maps_url

Hook Type: filter

See hook in core

Displaying hooks found in version: wp-stateless.3.4.1

apply_filters('rwmb_google_maps_url') is found 2 times:

  • /vendor/wpmetabox/meta-box/inc/fields/map.php line 23
    		/**
    		 * Allows developers load more libraries via a filter.
    		 * @link https://developers.google.com/maps/documentation/javascript/libraries
    		 */
    		$google_maps_url = apply_filters( 'rwmb_google_maps_url', $google_maps_url );
    
    		wp_register_script( 'google-maps', esc_url_raw( $google_maps_url ), [], RWMB_VER, true );
    		wp_enqueue_script( 'rwmb-map', RWMB_JS_URL . 'map.js', [ 'jquery-ui-autocomplete', 'google-maps' ], RWMB_VER, true );
    		RWMB_Helpers_Field::localize_script_once( 'rwmb-map', 'RWMB_Map', [
    			'no_results_string' => __( 'No results found', 'meta-box' ),
    		] );
    
  • /vendor/wpmetabox/meta-box/inc/fields/map.php line 158
    		/*
    		 * Allows developers load more libraries via a filter.
    		 * @link https://developers.google.com/maps/documentation/javascript/libraries
    		 */
    		$google_maps_url = apply_filters( 'rwmb_google_maps_url', $google_maps_url );
    		wp_register_script( 'google-maps', esc_url_raw( $google_maps_url ), [], RWMB_VER, true );
    		wp_enqueue_script( 'rwmb-map-frontend', RWMB_JS_URL . 'map-frontend.js', [ 'google-maps', 'jquery' ], RWMB_VER, true );
    
    		/*
    		 * Google Maps options.
    		 * Option name is the same as specified in Google Maps documentation.