Description #

If page is not found then set header as 404

Source #

File: includes/common-pages.php

	public static function set_404() {
		global $wp_query;
		status_header( 404 );
		include ap_get_theme_location( 'not-found.php' );

Leave a Reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Add your comment