Inventory_Presser_Plugin::create_post_type()

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.

Inventory_Presser_Plugin::modify_query_orderby()

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.