← Back
Editing: class-nothing.php
<?php namespace Redirection\Action; /** * 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 extends 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' ); } }
Save File
Cancel