Blog

Stay connected to the latest UpdraftPlus news.

Description

Use this filter to modify the URL used in the “Go Pro” links throughout Meta Slider. 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 Meta Slider 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);