Description
Filters the source URL for graphics used in the template part GRAPHICZONE1
in the context of email notifications being sent. This allows loading of graphic images in email messages from a CDN or data store external to the site. When using this filter, you will want to be sure to copy the graphic files found at wp-content/gravity_hopper/graphics
to the new source location.
Usage
Filter the source URL for graphics.
add_filter( 'gravityhopper-et/graphiczone_source_url', 'my_callback_function' );
Parameters
source_url : string
The source URL to be used for loading graphic in email messages.
Default is https://[domain]/wp-content/gravity_hopper/graphics/
.
Examples
Change Source URL of Graphics
add_filter( 'gravityhopper-et/graphiczone_source_url', function( $source_url ) {
return 'https://nyc3.digitaloceanspaces.com/twhl-typewheel/graphics/';
} );