Edit File by line

Deprecated: str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in /home/sportsfever/public_html/filemanger/function.php on line 93
/home/sportsfe.../httpdocs/wp-conte.../plugins/redux-fr.../sample/sections/extensio...
File: google-maps.php
<?php
[0] Fix | Delete
/**
[1] Fix | Delete
* Redux Google Maps Sample config.
[2] Fix | Delete
* For full documentation, please visit: http:https://devs.redux.io/
[3] Fix | Delete
*
[4] Fix | Delete
* @package Redux
[5] Fix | Delete
*/
[6] Fix | Delete
[7] Fix | Delete
defined( 'ABSPATH' ) || exit;
[8] Fix | Delete
[9] Fix | Delete
Redux::set_section(
[10] Fix | Delete
$opt_name,
[11] Fix | Delete
array(
[12] Fix | Delete
'title' => esc_html__( 'Google Maps', 'your-textdomain-here' ),
[13] Fix | Delete
'desc' => esc_html__( 'For full documentation on this field, visit: ', 'your-textdomain-here' ) . '<a href="https://devs.redux.io/core-extensions/google-maps.html" target="_blank">https://devs.redux.io/core-extensions/google-maps.html</a>',
[14] Fix | Delete
'subsection' => true,
[15] Fix | Delete
'fields' => array(
[16] Fix | Delete
array(
[17] Fix | Delete
'id' => 'location_geocode',
[18] Fix | Delete
'type' => 'google_maps',
[19] Fix | Delete
'title' => esc_html__( 'Google Maps', 'your-textdomain-here' ),
[20] Fix | Delete
'subtitle' => esc_html__( 'This map is set using only address information with a zoom factor of 3. Lat/Long is returned automatically.', 'your-textdomain-here' ),
[21] Fix | Delete
'show_api_key' => true,
[22] Fix | Delete
'default' => array(
[23] Fix | Delete
'zoom' => '17', // Zoom far: 3 zoom close 17.
[24] Fix | Delete
'street_number' => '1600', // Address.
[25] Fix | Delete
'route' => 'Pennsylvania Avenue', // STREET.
[26] Fix | Delete
'locality' => 'Washington', // CITY.
[27] Fix | Delete
'administrative_area_level_1' => 'DC', // STATE.
[28] Fix | Delete
'postal_code' => '20500',
[29] Fix | Delete
'country' => 'United States',
[30] Fix | Delete
),
[31] Fix | Delete
),
[32] Fix | Delete
array(
[33] Fix | Delete
'id' => 'location_geocode2',
[34] Fix | Delete
'type' => 'google_maps',
[35] Fix | Delete
'title' => esc_html__( 'Google Maps', 'your-textdomain-here' ),
[36] Fix | Delete
'subtitle' => esc_html__( 'This map is set using only latitude and longitude with a zoom factor of 7. When setting a Google map using lat/long, address information will not be returned.', 'your-textdomain-here' ),
[37] Fix | Delete
'show_api_key' => false,
[38] Fix | Delete
'full_width' => true,
[39] Fix | Delete
'default' => array(
[40] Fix | Delete
'latitude' => 38.8976758,
[41] Fix | Delete
'longitude' => - 77.03648229999999,
[42] Fix | Delete
'zoom' => 7,
[43] Fix | Delete
),
[44] Fix | Delete
),
[45] Fix | Delete
),
[46] Fix | Delete
)
[47] Fix | Delete
);
[48] Fix | Delete
[49] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function