Redirect hook | WordPress.org

[ad_1]

Hi, i know you are in part of Pretty links and ThirstyAffiliate plugins. In the TA plugin we have a hook
$redirect_url = apply_filters( 'ta_filter_redirect_url' , $redirect_url , $thirstylink , '' );

which we can use to modify the redirections. E.g
function ta_extended_filter_redirect_url($redirect_url, $thirstylink, $query_string = '') { $redirect_url = preg_replace('/&\!/', '', $redirect_url); return $redirect_url; }

Is there anything similar in Pretty Links plugin ?

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer