rwmb_google_maps_url

rwmb_google_maps_url

Hook Type: filter

See hook in core

Displaying hooks found in version: wp-stateless.4.1.2

apply_filters('rwmb_google_maps_url') is found 2 times:

  • /vendor/wpmetabox/meta-box/inc/fields/map.php line 24
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    /**
     * Allows developers load more libraries via a filter.
     */
    $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 172
    168
    169
    170
    171
    172
    173
    174
    175
    176
    177
    178
    /*
     * Allows developers load more libraries via a filter.
     */
    $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.