Redirect_404_Vehicles::is_request_for_vehicle( mixed $wp_obj )

is_request_for_vehicle


Parameters Parameters

$wp_obj

(mixed) (Required)


Top ↑

Return Return

(bool)


Top ↑

Source Source

File: includes/class-redirect-404-vehicles.php

		function is_request_for_vehicle( $wp_obj ) {
			return isset( $wp_obj->query_vars ) && isset( $wp_obj->query_vars['post_type'] )
				&& INVP::POST_TYPE == $wp_obj->query_vars['post_type'];
		}