FiltersΒΆ

Plugin defines many WordPress filters to make it easily extendable:

Filter tag Code Occurance Arguments
inventor_after_login_page   When user logs in page identifier [int]
inventor_after_register_page   When user signs up page identifier [int]
inventor_asynchronous_scripts   In scripts enqueue async defer scripts identifier [array]
inventor_bookings_allowed_listing_post_types   In listing definition allowed post types [array]
inventor_bookings_statuses   In booking definition statuses [array]
inventor_bookings_default_status   In booking definition of specific listing status [string], listing ID [int]
inventor_bookings_time_delta   In booking form time delta in seconds [int], listing ID [int]
inventor_database_session_handler_enabled   In session management enabled [bool]
inventor_bookings_listing_can_be_booked   In booking form can be booked [bool], listing ID [bool], booking enabled [bool], price [double]
inventor_listing_type_supported   In listing types configuration, submission supported [bool], post type [string]
inventor_listing_featured_image   In listing display templates image [string], listing ID [int]
inventor_listing_detail_sections Sample In listing detail sections [array], post type [string]
inventor_listing_detail_section_root_dir   In listing detail path to templates dir [string], section [string]
inventor_listing_special_label   In listing display label [string], listing ID [int], display [string]
inventor_listing_attributes   In listing detail attributes [array], listing ID [int]
inventor_attribute_value   In listing detail value [string], field [array]
inventor_mail_subject   In notifications, claim and report listing emails subject [string], mail action [string], template arguments [array]
inventor_mail_body   In notifications, claim listing emails body [string], mail action [string], template arguments [array]
inventor_billing_fields   In payments, user profile billing fields [array]
inventor_compare_timeout   In comparison expiration timeout in seconds [int]
inventor_compare_fields   In comparison comparison fields [array]
inventor_compare_data   In comparison data [array], listing identifiers [array]
inventor_statistics_timeout   In statistics expiration timeout in seconds [int]
inventor_invoices_types   In invoice post type definition invoice types [array]
inventor_invoices_next_invoice_number   When generating the very next invoice number next number [string]
inventor_invoices_tax_rate   When calculating item base price tax rate [double], supplier vat number [string], customer vat number [string]
inventor_mail_actions_choices   In definition of mail templates actions [array]
inventor_notify_about_new_user   In registration flow string [‘admin’ or ‘both’]. Default is ‘admin’.
inventor_field_type_taxonomy_select_chain_depth   In submission depth [int]
inventor_filter_fields   In filter definition fields [array]
inventor_filter_params   In query filtering params [array]
inventor_filter_query   In query filtering to set order query [object], params [array]
inventor_filter_query_meta   In query filtering to filter posts by post meta meta [array], params[array]
inventor_filter_query_taxonomies   In query filtering to filter posts by taxonomies taxonomies [array], params[array]
inventor_filter_field_plugin_dir   In filter form to set field plugin directory for template loader directory [string], template [string]
inventor_filter_sort_by_choices   In filter form sorting choices [array]
inventor_filter_query_field   In query filtering to filter by specific field field id [string], field param [string]
inventor_inquire_form_subject   In inquire form subject [string]
inventor_listing_type_icon Sample In listing type definition icon [string], post type [string]
inventor_listing_category_name   In listing templates category [string], listing ID [int], separator [string], hierarchical [bool]
inventor_order_query   In query filtering to set order query [object], params [array]
inventor_order_query_field   In query filtering to set order by specific field field id [string], field param [string]
inventor_currencies_current_currency_index   When receiving current currency currency index [int]
inventor_currencies_current_currency_rate   When receiving current currency rate currency rate [double]
inventor_package_durations Sample In package system package durations [array]
inventor_packages_metabox_permissions   In package definition metaboxes [array]
inventor_payment_proceed_gateway   In payment gateway definition proceed [bool], gateway [string]
inventor_payment_gateways   In purchase form gateways [array]
inventor_claims_allowed_listing_post_types   In listing detail allowed post types [array]
inventor_poi_icons Sample In listing category definition icons [array]
inventor_google_map_styles   In Google Map widget Google Map styles [array]
inventor_package_of_user   In listing detail, submission, listing archive, user dashboard user package [post]
inventor_shop_allowed_listing_post_types   In listing detail allowed post types [array]
inventor_submission_steps Sample In submission steps [array], post type [string]
inventor_submission_fields   In single step submission fields [array], post type [string]
inventor_submission_can_user_create   In submission permission granted [bool], user id [int]
inventor_submission_allowed_listing_post_types Sample In submission allowed post types [array]
inventor_map_infowindow_category   In Google Map infowindow listing category [string]
inventor_metabox_assigned Sample In post type definition (and submission) assigned [bool], metabox [string], post type [string]
inventor_metabox_allowed   In listing detail page allowed [bool], metabox [string], listing author ID [string]
inventor_metabox_title   In post type definition (and submission) title [string], metabox id [string], post type [string]
inventor_metabox_description   In post type definition (and submission) description [string], metabox id [string], post type [string]
inventor_metabox_field_enabled Sample In post type definition (and submission) enabled [bool], metabox id [string], field id [string], post type [string]
inventor_metabox_field_default   In post type definition (and submission) default [string], metabox id [string], field id [string], post type [string]
inventor_metabox_field_type Sample In post type definition (and submission) type [string], metabox id [string], field id [string], post type [string]
inventor_metabox_field_attributes Sample In post type definition (and submission) attributes [array], metabox id [string], field id [string], post type [string]
inventor_metabox_field_options   In post type definition (and submission) attributes [array], metabox id [string], field id [string], post type [string]
inventor_metabox_field_name Sample In post type definition (and submission) name [string], metabox id [string], field id [string], post type [string]
inventor_metabox_field_description   In post type definition (and submission) description [string], metabox id [string], field id [string], post type [string]
inventor_metabox_field_before_row   In post type definition (and submission) content [string], metabox id [string], field id [string], post type [string]
inventor_metabox_field_before   In post type definition (and submission) content [string], metabox id [string], field id [string], post type [string]
inventor_metabox_field_before_field   In post type definition (and submission) content [string], metabox id [string], field id [string], post type [string]
inventor_metabox_field_after_field   In post type definition (and submission) content [string], metabox id [string], field id [string], post type [string]
inventor_metabox_field_after   In post type definition (and submission) content [string], metabox id [string], field id [string], post type [string]
inventor_metabox_field_after_row   In post type definition (and submission) content [string], metabox id [string], field id [string], post type [string]
inventor_metabox_social_networks Sample In post type definition (and submission) and user profile social networks [array], post type [string]
inventor_visitor_data_storage   In submission and messages storage [string: COOKIE/SESSION]
inventor_social_network_url   In listing detail and user profile url [string], key [string]
inventor_widget_listings_query   In listings widget query params [array], widget instance [array]
inventor_widget_listings_order_options   In listings widget settings order options [array]

Each filter can be applied in your code using standard WordPress way, using apply_filters() function:

apply_filters( $filter_tag, $arg1, $arg2 ... );

To hook on filter, use add_filter() WP function:

add_filter( $filter_tag, $callback, $priority = 10, $accepted_args = 1 );