wpcom_map_block_map_provider

wpcom_map_block_map_provider

Hook Type: filter

See hook in core

Displaying hooks found in version: jetpack.14.1

apply_filters('wpcom_map_block_map_provider') is found 1 times:

  • /extensions/blocks/map/map.php line 80
    		return sanitize_text_field( wp_unslash( $_COOKIE['map_provider'] ) );
    	}
    
    	// if we don't apply the filters & default to mapbox
    	return apply_filters( 'wpcom_map_block_map_provider', 'mapbox' );
    }
    
    /**
     * Map block registration/dependency declaration.
     *
     * @param array  $attr    Array containing the map block attributes.