redirection_monitor_created, $new_item, $data[url], $post_id

redirection_monitor_created, $new_item, $data[url], $post_id

Appears in:
Hook Type: action

See hook in core

Displaying hooks found in version: redirection.5.9.0

do_action('redirection_monitor_created, $new_item, $data[url], $post_id') is found 1 times:

  • /models/monitor.php line 158
    		if ( $data['url'] !== null && $data['url'] !== false && $data['url'] !== '/' ) {
    			$new_item = Red_Item::create( $data );
    
    			if ( ! is_wp_error( $new_item ) ) {
    				do_action( 'redirection_monitor_created', $new_item, $data['url'], $post_id );
    			}
    		}
    	}
    
    	/**
    	 * Changed if permalinks are different and the before wasn't the site url (we don't want to redirect the site URL)