Warning: Array to string conversion in /mnt/data/home/502433.cloudwaysapps.com/rhbymdevka/public_html/wp-content/themes/wporg-developer/inc/template-tags.php on line 808
Freemius::get_local_icon_url()
This method will return the absolute URL of the module’s local icon.
Description Description
When you are running your plugin or theme on a localhost environment, if the icon is not found in the local assets folder, try to fetch the icon URL from Freemius. If not set and it’s a plugin hosted on WordPress.org, try fetching the icon URL from wordpress.org. If an icon is found, this method will automatically attempt to download the icon and store it in /freemius/assets/img/{slug}.{png|jpg|gif|svg}.
It’s important to mention that this method is NOT phoning home since the developer will deploy the product with the local icon in the assets folder. The download process just simplifies the process for the developer.
Warning: Array to string conversion in /mnt/data/home/502433.cloudwaysapps.com/rhbymdevka/public_html/wp-content/themes/wporg-developer/inc/template-tags.php on line 808
Return Return
(string)
Source Source
File: includes/pum-sdk/freemius/includes/class-freemius.php
Expand full source code Collapse full source code View on Trac
Changelog Changelog
Version | Description |
---|---|
2.0.0 | Introduced. |