It was brought to our attention that MasterPress would give a tonne of warnings and deprecation notices when used with PHP 7.4 – this update addresses those.
MPFT_Map :: image()
- WOOF_Image The image object for the static map image.
- An object for silent failure if no location has been set.
Creates a WOOF_Image object for the largest size version (640 x 640) of the static map image of the selected location. If there is no map location set, this method returns a WOOF_Silent object instead, resulting in no output.
Note: this method downloads and caches the static version of the image via the WordPress HTTP API, so that a WOOF_Image an be created for that image.