redirection_url_target, $target_url, $url->get_url(

redirection_url_target, $target_url, $url->get_url(

Appears in:
Hook Type: filter

See hook in core

Displaying hooks found in version: redirection.5.9.0

apply_filters('redirection_url_target, $target_url, $url->get_url(') is found 1 times:

  • /models/redirect/redirect.php line 734
    				$target_url = Red_Url_Query::add_to_target( $target_url, $original_url, $this->source_flags );
    			}
    
    			// Allow plugins a look
    			$target_url = apply_filters( 'redirection_url_target', $target_url, $url->get_url() );
    
    			// Do we have still have a target?
    			if ( ! $target_url ) {
    				// No, return early and move on to the next redirect. This could be a matched/unmatched target that has no value
    				return false;
    			}