Skip to main content

Our last 50% Promotion - the Affiliate Theme will no longer be sold from 2022/01/01! Read more in our blog post!

This filter allows to modify the URL to which the cloaker is currently redirecting

add_filter('at_page_cloaker_link', 'at_page_cloaker_custom_link', 10, 3);
function at_page_cloaker_custom_link($url, $post_id, $shop_id) {
	if($post_id = 123) {
		return '';

In this example, the product cloaker for ID 123 would redirect to Google.

Was this article helpful?

1 Star2 Stars3 Stars4 Stars5 Stars
(No Ratings Yet)

Keine Kommentare vorhanden

You have a question or an opinion about this post? Share it with us!

Your email address will not be published. Required fields are marked *