File "nothing.php"

Full Path: /home/elegucvf/public_html/wp-content-20250317205720/plugins/redirection/actions/nothing.php
File size: 475 bytes
MIME-type: text/x-php
Charset: utf-8

<?php

/**
 * The 'do nothing' action. This really does nothing, and is used to short-circuit Redirection so that it doesn't trigger other redirects.
 */
class Nothing_Action extends Red_Action {
	/**
	 * Issue an action when nothing happens. This stops further processing.
	 *
	 * @return void
	 */
	public function run() {
		do_action( 'redirection_do_nothing', $this->get_target() );
	}

	public function name() {
		return __( 'Do nothing (ignore)', 'redirection' );
	}
}