redirection_visit, $this, $original_url, $target_url

redirection_visit, $this, $original_url, $target_url

Appears in:
Hook Type: action

See hook in core

Displaying hooks found in version: redirection.5.9.0

do_action('redirection_visit, $this, $original_url, $target_url') is found 1 times:

  • /models/redirect/redirect.php line 746
    			// Set this in the action
    			$this->action->set_target( $target_url );
    
    			// Fire an action to let people know
    			do_action( 'redirection_visit', $this, $original_url, $target_url );
    		}
    
    		// Return the action for processing if we have either matched or we have a target URL (possibly from an 'not matched' condition)
    		if ( $matched || $target_url ) {
    			return $this->action === null ? false : $this->action;
    		}