rwmb_google_maps_url
rwmb_google_maps_url
Appears in: learnpress.3.2.6.10, wp-stateless.3.0, wp-stateless.3.0.1, wp-stateless.3.0.2, wp-stateless.3.0.3, wp-stateless.3.0.4, wp-stateless.3.1.0, wp-stateless.3.1.1, wp-stateless.3.2.2, wp-stateless.3.2.4, wp-stateless.3.2.5, wp-stateless.3.3.0, wp-stateless.3.4.0, wp-stateless.3.4.1, wp-stateless.4.0.3, wp-stateless.4.0.4, wp-stateless.4.1.1, wp-stateless.4.1.2
Hook Type: filter
Displaying hooks found in version: wp-stateless.4.1.2apply_filters('rwmb_google_maps_url') is found 2 times:
- /vendor/wpmetabox/meta-box/inc/fields/map.php line 24
/** * 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 172
/* * 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.