wordpress redirect page to with error plugin development code example Example: wp redirect wp_redirect( $url );