metaslider_hoplink

Description

Use this filter to modify the URL used in the “Go Pro” links throughout MetaSlider. This is for use by theme developers who have signed up as an affiliate.

Parameters

$link

(string) (required) The URL used to direct users to www.metaslider.com from all “Go Pro” links within the MetaSlider interface.

Examples

Use Affiliate URL

function metaslider_hoplink($link) {
    return "https://getdpd.com/cart/hoplink/15318?referrer=fh887eioypcsc4ok";
}
add_filter('metaslider_hoplink', 'metaslider_hoplink', 10, 1);

Posted in: Developer API