jetpack_google_maps_api_key, false

jetpack_google_maps_api_key, false

Appears in:
Hook Type: filter

See hook in core

Displaying hooks found in version: jetpack.16.0.1

apply_filters('jetpack_google_maps_api_key, false') is found 1 times:

  • /modules/widgets/contact-info.php line 278
    				<input class="jp-contact-info-showmap" id="<?php echo esc_attr( $this->get_field_id( 'showmap' ) ); ?>" name="<?php echo esc_attr( $this->get_field_name( 'showmap' ) ); ?>" value="1" type="checkbox" <?php checked( $instance&#91;'showmap'&#93;, 1 ); ?> />
    				<label for="<?php echo esc_attr( $this->get_field_id( 'showmap' ) ); ?>"><?php esc_html_e( 'Show map', 'jetpack' ); ?></label>
    			</p>
    
    			<?php if ( ! has_filter( 'jetpack_google_maps_api_key' ) || false === apply_filters( 'jetpack_google_maps_api_key', false ) ) { ?>
    
    			<p class="jp-contact-info-admin-map" style="<?php echo $instance&#91;'showmap'&#93; ? '' : 'display: none;'; ?>">
    				<label for="<?php echo esc_attr( $this->get_field_id( 'apikey' ) ); ?>">
    					<?php esc_html_e( 'Google Maps API Key', 'jetpack' ); ?>
    					<input class="widefat" id="<?php echo esc_attr( $this->get_field_id( 'apikey' ) ); ?>" name="<?php echo esc_attr( $this->get_field_name( 'apikey' ) ); ?>" type="text" value="<?php echo esc_attr( $apikey ); ?>" />
    					<br />