Posted in: Getting Started (4) How To (14) Plugin Options Explained (35) Actions / Filters (30)      Html Content (5)  

Name: wp-hide/wp_redirect
Type: Filter
Arguments: $location

This is the filter through which a redirect url can be further updated. The filter occur after the default plugin replacements.

        add_filter( 'wp-hide/wp_redirect', 'custom_wph_wp_redirect' ); 
        function custom_wph_wp_redirect( $location )
                if(preg_match("/(wp-login.php|checkemail=registered)/i", $location))
                            $location  =  '&updatedlink=true';   
                return $location;
Share on FacebookShare on Google+Tweet about this on TwitterShare on LinkedIn
Scroll to top