Method: Registers the inventory_vehicle post type that holds vehicles. The post type name is available in the API class constant INVP::POST_TYPE. The arguments array can be altered using the invp_post_type_args filter hook.


Method: Filter callback. Modifies a query’s ORDER BY clause to appropriately sort some meta values as numbers instead of strings while adding fields to the ORDER BY clause to account for all of the JOINs to the postmeta.