acf/fields/google_map/api

acf/fields/google_map/api

Hook Type: filter

See hook in core

Displaying hooks found in version: advanced-custom-fields.6.0.2

apply_filters('acf/fields/google_map/api') is found 1 times:

  • /includes/fields/class-acf-field-google-map.php line 80
    76
    77
    78
    79
    80
    81
    82
    83
    84
    85
    86
        'language'  => acf_get_locale(),
    );
     
    // filter
    $api = apply_filters( 'acf/fields/google_map/api', $api );
     
    // remove empty
    if ( empty( $api['key'] ) ) {
        unset( $api['key'] );
    }
    if ( empty( $api['client'] ) ) {