if_404()

post image

this function is used to check if you are on a 404 page or not

it will only return TRUE or FALSE. This could, for example, be used in an if statement

if (if_404()) {
get_404();
}