[wp-hackers] Throw 404 error via plugin

24/7 24-7 at gmx.net
Thu Jan 13 10:07:51 UTC 2011


Don't know if this is true, but here goes my theory: Ryan tries to
bring someone to a 404 page when some condition is not met. So why not
if { bla() } else { wp_redirect('wherever', 404) } ?


More information about the wp-hackers mailing list