-
Notifications
You must be signed in to change notification settings - Fork 10
PHP Approach
Besides the main class, any class that is shared between free and pro is declared in the core repo and extended in the plugin.
All shared views are in the Core library. Actions have been added to them for adding additional markup in free and pro. This will also facilitate add-on development.
Note: Both free and pro plugins share the same translation text domain google-maps-builder.
- Class Prefix:
- In plugin :
Google_Maps_Builder_ - In core library:
Google_Maps_Builder_Core_
- In plugin :
- File Name Prefix:
- In plugin :
class-gmb- - In core library:
class-gmc-
- In plugin :
gmb_localized_data
Availability: Free/Pro
Description: Filters the map data used to construct the Google Map.
View Example
gmb_mashup_infowindow_content
Description: Filters the infowindow content that appears when a marker is selected.
Availability: Free/Pro
View Example
gmb_mashup_infowindow_content_readmore
Availability: Free/Pro
Description: Filters the “Read More” text that displays in the infowindow.
View Example
gmb_mashup_builder_fields
Availability: Pro
Description: Filters the CMB2 fields used to define a mash-up.
gmb_get_mashup_markers_callback
Availability: Pro
Description: Filters the array of mash-up markers.