Inventory Presser 15.5.0 has 11 actions and 80 filters, read directly from its source code on Nov 18, 2026. The list updates automatically when a new version is released.
How to use these hooks
Actions let you run your own code at a specific moment. Filters let you change a value before the plugin uses it. Put your code in a child theme's functions.php or a code-snippets plugin, never in the plugin's own files, because updates overwrite them.
// Run your own code when Inventory Presser fires an action
add_action( 'invp_feed_complete', function() {
// Your code runs here.
}, 10, 1 );
// Change a value Inventory Presser is about to use
add_filter( 'invp_prefix_meta_key', function( $rule ) {
// Change $rule here.
return $rule;
}, 10, 1 );Parts of a name in {braces} are filled in at runtime (for example a post type or field ID). Choose Example on any hook for a ready-to-edit snippet.
All hooks
-
/** * If the key points to a value that is not a number and the operator is less * than or greater than, you might have a bad time. */ apply_filters( 'invp_prefix_meta_key', $rule['key'] ); -
/** * No. Perhaps this vehicle has attachments, but they don't have our meta key. * Just rely on the post date for sequencing. */ apply_filters( 'invp_query_limit', 1000, __FUNCTION__ ); -
/** * The price display type is something beyond what this plugin supports. Allow * the value to be filtered. */ apply_filters( 'invp_price_display', esc_html( $zero_string ), $settings['price_display'], $post_ID ); -
/** * Create two rules for searches across single and multiple terms and for each * listings page. One rule is page one, and the second supports the paged * variable. */ apply_filters( 'invp_archive_filter_max', 5 ); -
/** * A successful PUT request to /wp-json/invp/v1/feed-complete has occurred. * Assume a client has just updated the entire list of inventory posts and * attachments. */ do_action( 'invp_feed_complete' ); -
/** * Fires after the $edd_plugin_data is setup. */ do_action( 'post_edd_sl_plugin_updater_setup', $edd_plugin_data ); -
apply_filters( 'widget_title', empty( $instance['title'] ) ? '' : $instance['title'] ); -
apply_filters( 'invp_odometer_word', __( 'Odometer', 'inventory-presser' ) ); -
apply_filters( 'invp_unprefix_meta_key', $meta_key ); -
apply_filters( 'invp_slider_widget_query_args', $get_posts_args ); -
apply_filters( 'invp_cf7_field_vehicle_html', $html . $validation_error, $atts ); -
apply_filters( 'invp_get_the_odometer', '', $post_ID ); -
apply_filters( 'invp_price_display_separator', ' / ', $this->option['price_display'] ?? '', 0 ); -
do_action( 'invp_taxonomy_overlapper_deleted_meta', $object_id, $taxonomy, $term ); -
do_action( 'invp_archive_buttons' ); -
apply_filters( 'invp_default_hull_materials', array( __( 'Aluminum', 'inventory-presser' ), __( 'Carbon Fiber', 'inventory-presser' ), __( 'Composite', 'inventory-presser' ), __( 'Ferro-Cement', 'inventory-presser' ), __( 'Fiberglass', 'inventory-presser' ), __( 'Hypalon', 'inventory-presser' ), __( 'Other', 'inventory-presser' ), __( 'PVC', 'inventory-presser' ), __( 'Steel', 'inventory-presser' ), __( 'Wood', 'inventory-presser' ), ) ); -
apply_filters( 'invp_default_payment_frequencies', array( 'Monthly' => 'monthly', 'Weekly' => 'weekly', 'Bi-weekly' => 'biweekly', 'Semi-monthly' => 'semimonthly', ) ); -
apply_filters( 'invp_price_was_now_discount_now', __( 'Now', 'inventory-presser' ) ); -
apply_filters( 'invp_price_was_now_discount_retail', __( 'Retail', 'inventory-presser' ) ); -
apply_filters( 'invp_price_was_now_discount_save', __( 'You Save', 'inventory-presser' ) ); -
do_action( 'invp_taxonomy_overlapper_updated_meta', $object_id, $taxonomy, $term ); -
apply_filters( 'active_plugins', get_option( 'active_plugins' ) ); -
apply_filters( 'edd_sl_api_request_verify_ssl', true, $this ); -
do_action( "in_plugin_update_message-{$file}", $plugin, $version_info ); -
apply_filters( 'invp_apply_orderby_to_main_query_only', true ); -
apply_filters( 'invp_archive_shortcode_after', '', $have_posts, $atts ); -
apply_filters( 'invp_archive_shortcode_before', '', $have_posts, $atts ); -
apply_filters( 'invp_archive_shortcode_no_results', sprintf( '<p>%s</p><h2>%s</h2><p>%s</p>', esc_html__( 'No vehicles found.', 'inventory-presser' ), esc_html__( 'Search Inventory', 'inventory-presser' ), apply_filters( 'invp_archive_shortcode_no_results_search', get_search_form() ) ) ); -
apply_filters( 'invp_archive_shortcode_no_results_search', get_search_form() ); -
apply_filters( 'invp_base_colors', array( __( 'Beige', 'inventory-presser' ), __( 'Black', 'inventory-presser' ), __( 'Blue', 'inventory-presser' ), __( 'Brown', 'inventory-presser' ), __( 'Burgundy', 'inventory-presser' ), __( 'Gold', 'inventory-presser' ), __( 'Grey', 'inventory-presser' ), __( 'Green', 'inventory-presser' ), __( 'Ivory', 'inventory-presser' ), __( 'Orange', 'inventory-presser' ), __( 'Purple', 'inventory-pres... ); -
apply_filters( 'invp_button_classes_nextgear_inspection_url', 'wp-block-button__link button _button _button-small' ); -
apply_filters( 'invp_button_text_nextgear_inspection_url', esc_html__( 'Mechanic\'s Report', 'inventory-presser' ) ); -
apply_filters( 'invp_country_calling_code', '1' ); -
apply_filters( 'invp_css_classes_view_details_button', array( 'wp-block-button__link', 'btn', 'button', ) ); -
apply_filters( 'invp_currency_symbol', '$' ); -
apply_filters( 'invp_default_boat_styles', array( __( 'Bass boat', 'inventory-presser' ), __( 'Bow Rider', 'inventory-presser' ), __( 'Cabin Cruiser', 'inventory-presser' ), __( 'Center Console', 'inventory-presser' ), __( 'Cuddy Cabin', 'inventory-presser' ), __( 'Deck boat', 'inventory-presser' ), __( 'Performance', 'inventory-presser' ), __( 'Pontoon', 'inventory-presser' ), ) ); -
apply_filters( 'invp_default_options', array( __( '3rd Row Seats', 'inventory-presser' ), __( 'Air Bags', 'inventory-presser' ), __( 'Air Conditioning', 'inventory-presser' ), __( 'Alloy Wheels', 'inventory-presser' ), __( 'Aluminum Wheels', 'inventory-presser' ), __( 'AM/FM Stereo', 'inventory-presser' ), __( 'Anti-lock Brakes', 'inventory-presser' ), __( 'Backup Camera', 'inventory-presser' ), __( 'Bed Cap', 'inventory-presser' ),... ); -
apply_filters( 'invp_default_title_statuses', array( __( 'Unspecified', 'inventory-presser' ), __( 'Clear', 'inventory-presser' ), __( 'Clean', 'inventory-presser' ), __( 'Flood, Water Damage', 'inventory-presser' ), __( 'Lemon and Manufacturers Buyback', 'inventory-presser' ), __( 'Rebuild, Rebuildable, and Reconstructed', 'inventory-presser' ), __( 'Salvage', 'inventory-presser' ), __( 'Other', 'inventory-presser' ), ) ); -
do_action( 'invp_delete_all_data' ); -
do_action( 'invp_delete_all_inventory', $deleted_count ); -
apply_filters( 'invp_doc_fee_label', __( 'Doc Fee', 'inventory-presser' ), $post_ID ); -
apply_filters( 'invp_edit_control_vin', sprintf( '<input type="text" name="%s" maxlength="17" value="%s">', esc_attr( apply_filters( 'invp_prefix_meta_key', 'vin' ) ), esc_attr( $meta['vin'] ) ) ); -
apply_filters( 'invp_get_raw_doc_fee', INVP::get_meta( 'doc_fee', $post_ID ), $post_ID ); -
apply_filters( 'invp_get_raw_msrp', INVP::get_meta( 'msrp', $post_ID ), $post_ID ); -
apply_filters( 'invp_get_raw_price', INVP::get_meta( 'price', $post_ID ), $post_ID ); -
apply_filters( 'invp_get_raw_rebate', INVP::get_meta( 'rebate', $post_ID ), $post_ID ); -
apply_filters( 'invp_hours_title', $hours_title, $hours_uid ); -
apply_filters( 'invp_html_select_vehicle_keys_value', $key ); -
apply_filters( 'invp_include_schema_org_json_ld', true ); -
apply_filters( "invp_label-{$member}", $item['label'] ); -
do_action( 'invp_listings_pages_settings' ); -
do_action( 'invp_loaded' ); -
apply_filters( 'invp_max_hours_sets_per_address', 5 ); -
apply_filters( 'invp_max_phone_numbers_per_address', 10 ); -
apply_filters( 'invp_meta_fields', array( array( 'label' => __( 'Availability', 'inventory-presser' ), 'name' => 'availability', 'sample' => __( 'For Sale', 'inventory-presser' ), 'type' => 'string', ), array( 'label' => __( 'Beam', 'inventory-presser' ), 'name' => 'beam', 'type' => 'string', ), array( 'label' => __( 'Body Style', 'inventory-presser' ), 'name' => 'body_style', 'sample' => __( 'EXTENDED CAB PICKUP', 'inventory-pr... ); -
apply_filters( 'invp_meta_prefix', 'inventory_presser_' ); -
apply_filters( 'invp_meta_value_or_meta_value_num', $meta_value_or_meta_value_num, $key ); -
apply_filters( 'invp_no_photo_url', plugins_url( 'images/no-photo.svg', INVP_PLUGIN_FILE_PATH ), $post_ID ); -
apply_filters( 'invp_option_group', 'dealership_options_option_group' ); -
apply_filters( 'invp_option_page', self::OPTION_PAGE . '-admin' ); -
apply_filters( 'invp_options_page_sanitized_values', $sanitary_values, $input ); -
apply_filters( 'invp_options_page_taxonomies_sanitized_values', $sanitary_values, $input ); -
apply_filters( 'invp_overlapping_keys', array( 'body_style' => 'style', 'make' => 'make', 'model' => 'model', 'year' => 'model_year', 'availability' => 'availability', 'color_base' => 'colors', 'condition' => 'condition', 'cylinders' => 'cylinders', 'drive_type' => 'drive_type', 'fuel' => 'fuel', 'location' => 'location', 'propulsion_type' => 'propulsion_type', 'transmission' => 'transmission', 'type' => 'type', 'wholesale' => 'avail... ); -
apply_filters( 'invp_pagination_html', $pagination_html ); -
apply_filters( 'invp_pagination_sentence', sprintf( '%s %d %s %d %s %d %s', __( 'Showing', 'inventory-presser' ), $start_index, __( 'to', 'inventory-presser' ), $end_index, __( 'of', 'inventory-presser' ), $wp_query->found_posts, esc_html( $object_name ) ) ); -
apply_filters( 'invp_pending_string', sprintf( '<span class="vehicle-pending">%s</span>', esc_html__( 'Sale Pending', 'inventory-presser' ) ) ); -
apply_filters( 'invp_phone_number_widget_html', $html, $term_id, $phone_uid, $number, $description, $this->formats()[ $format ] ); -
apply_filters( 'invp_post_type_args', array( 'capability_type' => INVP::POST_TYPE, 'map_meta_cap' => true, 'description' => __( 'Vehicles for sale', 'inventory-presser' ), 'has_archive' => true, 'hierarchical' => false, 'labels' => array( 'name' => _x( 'Vehicles', 'Post type general name', 'inventory-presser' ), 'singular_name' => _x( 'Vehicle', 'Post type singular name', 'inventory-presser' ), 'menu_name' => _x( 'Vehicles', 'Admin... ); -
apply_filters( 'invp_price_display_options', array( 'default' => INVP::currency_symbol() . '{Price}', 'msrp' => INVP::currency_symbol() . '{MSRP}', 'full_or_down' => INVP::currency_symbol() . '{Price}' . $separator . INVP::currency_symbol() . '{Down Payment} Down', 'down_only' => INVP::currency_symbol() . '{Down Payment} Down', 'was_now_discount' => sprintf( '%1$s %2$s{MSRP} %3$s %2$s{Price} %4$s %2$s{MSRP}-{Price}', apply_filters( 'invp_... ); -
apply_filters( 'invp_price_label', __( 'Price', 'inventory-presser' ), $post_ID ); -
apply_filters( 'invp_price_total_label', __( 'Total', 'inventory-presser' ), $post_ID ); -
apply_filters( 'invp_range_filters_main_query', true ); -
apply_filters( 'invp_rebate_label', __( 'Rebate', 'inventory-presser' ), $post_ID ); -
apply_filters( 'invp_rewrite_rules', $new_rewrite_rules ); -
apply_filters( 'invp_rewrite_slugs', array( $post_type->rewrite['slug'], ) ); -
do_action( 'invp_single_buttons' ); -
apply_filters( 'invp_single_sections', $sections ); -
apply_filters( 'invp_single_sections_form_shortcode', $shortcode ); -
apply_filters( 'invp_single_sections_form_title', __( 'Check Availability', 'inventory-presser' ) ); -
apply_filters( 'invp_sold_string', sprintf( '<span class="vehicle-sold">%s</span>', esc_html( $sold_text ) ) ); -
apply_filters( 'invp_sold_text', esc_html__( 'SOLD!', 'inventory-presser' ) ); -
apply_filters( 'invp_sort_by_widget_ignored_fields', $ignored_keys ); -
apply_filters( 'invp_sort_dropdown_options', array( 'make' => array( 'ASC' => __( 'Make A-Z', 'inventory-presser' ), 'DESC' => __( 'Make Z-A', 'inventory-presser' ), ), 'price' => array( 'ASC' => __( 'Price Low', 'inventory-presser' ), 'DESC' => __( 'Price High', 'inventory-presser' ), ), 'odometer' => array( 'ASC' => sprintf( '%s %s', apply_filters( 'invp_odometer_word', 'Mileage' ), __( 'Low', 'inventory-presser' ) ), 'DESC' => sprintf(... ); -
apply_filters( 'invp_taxonomy_data', $taxonomies ); -
apply_filters( 'invp_vehicle_attribute_table', $html ); -
apply_filters( 'invp_vehicle_attribute_table_cell', empty( $item['value'] ) ? strtolower( INVP::get_meta( $member, $post_ID ) ) : $item['value'] ); -
apply_filters( 'invp_vehicle_attribute_table_items', $table_items ); -
apply_filters( 'invp_vehicle_location_sentence', $sentence, $post_ID ); -
apply_filters( 'invp_vehicle_location_sentence_address', $location ); -
apply_filters( 'invp_vehicle_location_sentence_phone', $phone['number'] ); -
apply_filters( 'invp_zero_price_string', $zero_string, $post_ID );
Generated from Inventory Presser's GPL-licensed source code. Hooks inside bundled third-party libraries are not listed.
Done for you
Rather have it built for you?
Tell us what should change and we’ll write and test the code using these hooks.
Custom hook snippet
from $49
A small, update-safe change built on the plugin’s own hooks.
- Code written against the plugin’s actions and filters
- Tested on a staging copy of your site
- Install instructions included
Typical turnaround: 2–3 business days
Choose thisPlugin customisation
from $149
New features or changed behaviour, without editing the plugin’s files.
- Built as a companion plugin, so updates never wipe it
- Exact quote before we start
- Tested on staging, then deployed
Typical turnaround: 3–7 business days
Choose thisNot sure which fits? Describe what you need and we’ll suggest the simplest option.
Can't find the right hook?
We can build the customisation for you. Describe what you need: