Filters
Filters let you change a value before RestroPress uses it: a price, a label, a list of statuses, an email subject, the HTML of a template part. Register a callback with add_filter( 'hook_name', 'your_function', $priority, $accepted_args ). The callback receives the value as its first parameter and must return a value of the same type.
Pages below are listed alphabetically. Names with a part in braces, such as rpress_get_option_{$key}, are built at run time. The page explains which values the placeholder can take.
All 801 filters
cart_empty_messageFilters the message returned by the REST cart endpoints when the cart is empty. The name is not prefixed. It is used by…edd_sl_api_request_verify_sslFilters whether SSL is verified for requests from the extension updater to the license store. Runs in RestroPress_Addon…excerpt_lengthFilters the word limit for menu item descriptions in menu templates. This is the standard WordPress excerpt_length filt…is_a_restropress_pageFilters whether the current request is a RestroPress page. The default is true when the current post or page contains o…jwt_auth_cors_allow_headersFilters the value of the Access-Control-Allow-Headers response header for REST requests. Hooked into the REST response…plugin_localeFilters the locale used when loading RestroPress translation files. This is the standard WordPress plugin_locale filter…restropress_admin_order_preview_actionsFilters the action buttons shown in the order preview modal. The array is rendered by rp_render_action_buttons(): top-l…restropress_container_classFilters the CSS class of the wrapper div around shortcode output. Applied in RP_Shortcodes::shortcode_wrapper() while b…restropress_output_fooditem_shortcode_contentFilters whether the menu items shortcode outputs its content. Runs at the start of RP_Shortcode_Fooditems::output(). Re…restropress_rest_api_get_rest_namespacesFilters the REST API namespaces and the controllers registered for each. Called when REST routes are registered on rest…restropress_rest_suppress_image_upload_errorFilters whether a failed image upload from a URL should be silently ignored. Used in the ImageAttachment helper when up…rest_rp_cart_item_schemaFilters the JSON schema of a cart item in the REST API. Applied when the cart controller builds its item schema. Add or…rest_rp_customer_item_schemaFilters the JSON schema of a customer in the REST API. Applied when the customer controller builds its item schema. Add…rpress_accepted_payment_iconsFilters the payment icons that can be chosen in the Accepted Payment Method Icons setting. Runs while the gateways sett…rpress_accepted_payment_{$card}_imageFilters the image URL used for an accepted payment card icon. The dynamic part is the card name in lowercase with space…rpress_accepted_payment_{$slug}_imageFilters the image URL of an accepted payment card icon. Runs in rpress_get_accepted_card_icon_urls() for each card conf…rpress_addon_category_argsFilters the arguments used to register the add-on group taxonomy. Runs while the menu taxonomies are registered on init…rpress_addon_category_labelsFilters the labels of the add-on group taxonomy. Runs while the menu taxonomies are registered on init, when the argume…rpress_addon_is_tax_exclusiveFilters whether an add-on item is excluded from tax. Runs in rpress_addon_is_tax_exclusive(), used by the cart when com…rpress_addon_metaFilters a term meta value of an add-on group or add-on item. Runs in rpress_get_addon_data after get_term_meta reads th…rpress_addon_typesFilters the available add-on group selection types. Runs in rpress_get_addon_types and is applied twice: first to the d…rpress_add_button_stylesFilters the available add button styles. Runs in rpress_get_add_button_styles(). The value maps a style slug to a label…rpress_add_category_argsFilters the arguments used to create a menu category from the admin AJAX handler. Runs in RP_AJAX::add_category() befor…rpress_add_schema_microdataFilters whether schema.org microdata is added. Runs in rpress_add_schema_microdata(). The default is true only once wp_…rpress_add_to_cart_textFilters the label of the add-to-cart button. Runs when the AJAX add-to-cart link is rendered, that is when AJAX is not…rpress_admin_notice_emailsFilters the list of recipient addresses for admin order notifications. Runs in rpress_get_admin_notice_emails after the…rpress_admin_order_from_addressFilters the sender email address used in the admin order notification. Runs in rpress_admin_email_notice after the From…rpress_admin_order_notification_attachmentsFilters the file attachments sent with the admin order notification. Runs in rpress_admin_email_notice before the admin…rpress_admin_order_notification_headersFilters the headers of the admin order notification email. Runs just before the admin notification is sent. The value i…rpress_admin_order_notification_headingFilters the heading of the admin order notification email. Runs in rpress_admin_email_notice after the heading is read…rpress_admin_order_notification_subjectFilters the subject line of the admin order notification email. Runs in rpress_admin_email_notice after the subject is…rpress_admin_order_preview_get_order_detailsFilters the order data sent to the order preview modal. Builds the array returned by the AJAX order preview request, in…rpress_admin_receipt_delivery_addressFilters the delivery address text shown on the admin order details screen. Applied to the comma-separated delivery addr…rpress_after_payment_actions_delayFilters the delay, in seconds, before the after-payment actions event runs. Used by rpress_schedule_after_payment_actio…rpress_after_setting_outputFilters the HTML output of a settings field before it is printed. Runs inside the settings field callbacks (checkbox, m…rpress_agree_to_privacy_policy_textFilters the error message shown when the customer has not agreed to the privacy policy. Used when checkout validation f…rpress_agree_to_terms_textFilters the error message shown when the customer has not agreed to the terms of use. Used when checkout validation fin…rpress_ajax_discount_responseFilters the JSON response for the AJAX discount code request. Runs in the apply_discount AJAX handler after the code ha…rpress_ajax_found_usersFilters the users found by the admin user search before the result list is built. Runs in the search_users AJAX handler…rpress_ajax_pre_cart_item_templateFilters the cart item data before the cart item row markup is built in an AJAX response. Runs in the reorder, add to ca…rpress_ajax_script_varsFilters the data localised to the AJAX script. Runs in RP_Frontend_Scripts::load_scripts() before the array is localise…rpress_ajax_urlFilters the URL used for RestroPress AJAX requests. The URL is admin-ajax.php with its scheme adjusted to match the cur…rpress_allowed_cart_item_modificationsFilters the cart item keys that RPRESS_Payment::modify_cart_item may change. Any key in the arguments passed to modify_…rpress_allowed_fooditem_taxonomiesFilters the taxonomies for which rpress_get_taxonomy_labels() returns labels. Runs at the start of rpress_get_taxonomy_…rpress_allowed_html_tagsFilters the HTML tags and attributes allowed in text settings. Runs inside rpress_sanitize_text_field(), the sanitizer…rpress_allow_negative_pricesFilters whether negative prices are allowed when saving price meta. Applied in RPRESS_Register_Meta::sanitize_price()…rpress_allow_template_part_{$slug}_{$name}Filters whether a RestroPress template part is loaded. Runs in rpress_get_template_part() before templates are looked u…rpress_angola_provincesFilters the list of provinces returned for Angola. Applied at the end of rpress_get_angola_provinces_list(), which rpre…rpress_api_customersFilters the customers data returned by the customers API endpoint. Runs at the end of a customers request when customer…rpress_api_discountsFilters the discount list returned by the discounts API endpoint. Runs at the end of RPRESS_API::get_discounts() after…rpress_api_fooditem_logsFilters the complete fooditem logs response returned by the API. Runs at the end of RPRESS_API::get_fooditem_logs() aft…rpress_api_fooditem_log_itemFilters a single menu item download log entry in the fooditem logs API response. Runs inside the loop in RPRESS_API::ge…rpress_api_infoFilters the site information returned by the info API endpoint. Runs at the end of RPRESS_API::get_info(). The array ha…rpress_api_log_requestsFilters whether API requests are logged. Runs in RPRESS_API::log_requests(), which is checked before each API request i…rpress_api_output_dataFilters the data returned by the API for a request. Runs after the endpoint switch has built the response, before the r…rpress_api_output_formatFilters the output format of an API response. Runs in RPRESS_API::get_output_format(). The value is the 'format' query…rpress_api_productsFilters the products data returned by the products API endpoint. Runs at the end of the products request after the prod…rpress_api_products_productFilters the data array built for a single menu item in the products API response. Runs at the end of RPRESS_API::get_pr…rpress_api_products_product_v2Filters the data of a single product in the version 2 API response. Runs for each menu item when the v2 API builds prod…rpress_api_public_query_modesFilters the API query modes that can be accessed without an API key. Runs when the API checks whether a request is publ…rpress_api_results_per_pageFilters the number of results returned per page by the API. Runs when the API reads the number query variable, which de…rpress_api_row_actionsFilters the row action links shown under each user in the API Keys table. Applied in the User column of the API keys li…rpress_api_salesFilters the recent sales data returned by the sales API endpoint. Runs at the end of a sales request. The array has a s…rpress_api_statsFilters the default stats response returned when no stats type is requested. Runs in RPRESS_API::get_stats() when the r…rpress_api_stats_customersFilters the customer statistics returned by the stats API endpoint. Runs in RPRESS_API::get_stats() when the request ty…rpress_api_stats_earningsFilters the earnings statistics returned by the stats API endpoint. Runs in RPRESS_API::get_stats() when the request ty…rpress_api_stats_salesFilters the sales statistics returned by the stats API endpoint. Runs in RPRESS_API::get_stats() when the request type…rpress_api_stat_datesFilters the date values used to retrieve earnings and sales in the API. Runs at the end of get_dates after the requeste…rpress_api_valid_query_modesFilters the list of accepted API query modes. Runs when the API validates the requested endpoint. The default list is s…rpress_apply_preset_discountFilters the preset discount code before it is applied to the cart. Applied in rpress_apply_preset_discount() on init at…rpress_australian_statesFilters the list of states returned for Australia. Applied at the end of rpress_get_australian_states_list(), which rpr…rpress_availability_unavailable_labelFilters the label shown for a menu item that is marked unavailable. Used for the order button text on unavailable menu…rpress_available_servicesFilters the choices of the Choose Services setting. Runs while the settings are registered and builds the radio options…rpress_bangladeshi_statesFilters the list of states returned for Bangladesh. Applied at the end of rpress_get_bangladeshi_states_list(), which r…rpress_basic_holidaysFilters the list of configured basic holiday dates. Runs in rpress_get_basic_holidays() on the basic_holidays setting a…rpress_basic_store_hours_activeFilters whether the built-in per-day store hours and holidays are active. Defaults to true unless the RP_StoreTiming_Fu…rpress_beta_enabled_extensionsFilters the extensions that offer opt-in beta updates. Runs when the Tools page decides whether to show the Beta Versio…rpress_brazil_statesFilters the list of states returned for Brazil. Applied at the end of rpress_get_brazil_states_list(), which rpress_get…rpress_bulgarian_statesFilters the list of states returned for Bulgaria. Applied at the end of rpress_get_bulgarian_states_list(), which rpres…rpress_button_colorsFilters the available button colors. Runs in rpress_get_button_colors(). The value is an associative array keyed by col…rpress_button_stylesFilters the available button styles. Runs in rpress_get_button_styles(). The value is an associative array of style slu…rpress_canada_provincesFilters the list of provinces returned for Canada. Applied at the end of rpress_get_provinces_list(), which rpress_get_…rpress_can_checkoutFilters whether the customer may check out. Runs in rpress_can_checkout(). The default value is always true. Return fal…rpress_can_purchase_fooditemFilters whether a menu item can be purchased. Runs in RPRESS_Fooditem::can_purchase(). The initial value is true unless…rpress_can_view_receiptFilters whether the current visitor can view an order receipt. The default is true for the order's customer, a user who…rpress_cart_addon_priceFilters the price of an add-on in the cart. Runs in RPRESS_Cart::get_addon_price(). When prices include tax, the add-on…rpress_cart_contentsFilters the validated cart contents. Runs in RPRESS_Cart::get_contents() after menu items that no longer exist or can n…rpress_cart_dataFilters the cart AJAX response before it is sent. Runs in the reorder, add to cart, update cart items and remove from c…rpress_cart_editFilters the Edit label on sidebar cart items. Runs in the sidebar cart item template when the Edit link text is printed…rpress_cart_has_discountsFilters whether the cart has any discounts applied. Runs in RPRESS_Cart::has_discounts() after the active discount code…rpress_cart_itemFilters the rendered HTML of a cart item. Runs at the end of rpress_get_cart_item_template(), after the cart/item templ…rpress_cart_item_final_priceFilters the final price of a cart item. Runs in RPRESS_Cart::get_item_final_price(). The value is read from the cart's…rpress_cart_item_price_labelFilters the formatted price label shown for a cart item. Runs in RPRESS_Cart::item_price(). The value is the currency-f…rpress_cart_quantity_itemFilters the add-on list HTML shown under a cart item. Runs at the end of get_addon_item_formatted(), which builds the l…rpress_cart_removeFilters the Remove label on sidebar cart items. Runs in the sidebar cart item template when the Remove link text is pri…rpress_cart_sidebar_render_feeFilters whether a fee is listed in the sidebar cart totals. Runs in the sidebar cart totals template for each fee in th…rpress_cart_sidebar_summary_htmlFilters the HTML of the sidebar cart summary. Runs in rpress_get_cart_sidebar_summary_html() after the cart/checkout te…rpress_cart_taxFilters the formatted cart tax text. Runs in RPRESS_Cart::tax(). The value is the currency-formatted cart tax. It is ec…rpress_cart_titleFilters the heading shown above the cart contents. Applied to the cart heading, which defaults to Your Order, in the si…rpress_cart_totalFilters the formatted cart total text. Runs in RPRESS_Cart::total(). The value is the currency-formatted total. It is e…rpress_category_dropdownFilters the term query arguments used by the add-on group dropdown. Runs in RPRESS_HTML_Elements::category_dropdown() a…rpress_category_earnings_graph_dataFilters the data plotted in the category earnings pie chart. Runs when the Earnings by Category or Earnings by Add-on r…rpress_category_earnings_graph_optionsFilters the options passed to the category earnings pie chart. Runs just after rpress_category_earnings_graph_data and…rpress_category_sales_graph_dataFilters the data plotted in the category sales pie chart. Runs when the Earnings by Category or Earnings by Add-on repo…rpress_category_sales_graph_optionsFilters the options passed to the category sales pie chart. Runs just after rpress_category_sales_graph_data and before…rpress_cc_card_typesFilters the card type definitions used to detect a card type from its number. Runs in rpress_detect_cc_type() before th…rpress_cc_found_card_typeFilters the card type name detected for a card number. Runs at the end of rpress_detect_cc_type(). The first value is t…rpress_cc_is_valid_formatFilters the final result of the card number format validation. Runs at the end of rpress_validate_card_number_format()…rpress_checkout_billing_details_addressFilters the billing address values used to pre-populate the checkout billing fields. Runs in rpress_default_cc_address_…rpress_checkout_button_nextFilters the markup of the Next button on the payment mode step. Runs at the end of rpress_checkout_button_next() with t…rpress_checkout_button_purchaseFilters the markup of the Place Order button. Runs at the end of rpress_checkout_button_purchase() with the buffered su…rpress_checkout_cart_columnsFilters the number of columns in the checkout cart table. Runs at the end of rpress_checkout_cart_columns(). The base i…rpress_checkout_fieldsFilters the delivery address fields rendered on the checkout form. Runs in rp_get_checkout_fields() when the checkout t…rpress_checkout_fonts_urlFilters the Google Fonts stylesheet URL used by the menu, order tracking and checkout styles. Applied before the rpress…rpress_checkout_order_details_textFilters the legend text of the checkout order details section. Runs in rpress_order_details_fields() for the legend of…rpress_checkout_personal_info_textFilters the legend text of the checkout contact section. Runs in rpress_user_info_fields() for the legend of the contac…rpress_checkout_service_feeFilters the fee advertised on a checkout service chip. Runs in rpress_get_checkout_service_fee_display() before core fa…rpress_checkout_service_fee_sublabelFilters the sublabel shown under a checkout service chip. Runs first in rpress_get_checkout_service_fee_sublabel(). Ret…rpress_checkout_service_section_headingFilters the heading text for the service section of the checkout service selector. Applied in the delivery steps templa…rpress_checkout_terms_agreement_htmlFilters the HTML of the agree to terms section before it is output. Runs in rpress_terms_agreement() with the section m…rpress_checkout_ui_varsFilters the strings and settings localised to the checkout UI script. Runs on the checkout page when RP_Frontend_Script…rpress_checkout_update_service_option_responseFilters the success response after the checkout service option is updated. Runs in the checkout_update_service_option A…rpress_check_new_orders_capFilters the capability required to poll for new orders. Used by the check_new_orders AJAX handler that powers the new o…rpress_check_service_slotFilters the result of the service type and time slot validation request. Runs in RP_AJAX::check_service_slot() with the…rpress_chinese_statesFilters the list of states returned for China. Applied at the end of rpress_get_chinese_states_list(), which rpress_get…rpress_chosen_gatewayFilters the gateway ID chosen for the current checkout. Runs at the end of rpress_get_chosen_gateway. The value comes f…rpress_command_center_cash_gatewaysFilters the gateway IDs treated as cash payments in the Command Center and order screens. Orders paid with one of these…rpress_command_center_refresh_intervalFilters the Command Center auto-refresh interval, in seconds. Used when the Command Center script is localized on the a…rpress_command_center_thresholdsFilters the operational thresholds that drive Command Center, Orders and report alerts. Returns the array of numeric li…rpress_core_stripe_extension_plugin_pathsFilters the plugin file paths used to detect the separate RestroPress Stripe extension. Core Stripe is disabled when th…rpress_core_stripe_secret_keyFilters the Stripe secret key used by the core Stripe gateway. Runs in rpress_core_stripe_get_secret_key. The value is…rpress_core_stripe_settingsFilters the core Stripe gateway settings registered on the Gateways settings tab. Runs when the Gateways settings are b…rpress_core_stripe_webhook_toleranceFilters the allowed clock difference, in seconds, when verifying a Stripe webhook signature. Runs in rpress_core_stripe…rpress_countriesFilters the list of countries available in RestroPress. Applied at the end of rpress_get_country_list(). The array maps…rpress_count_payments_joinFilters the JOIN clause used by rpress_count_payments(). Runs after rpress_count_payments() has built its JOIN clause (…rpress_count_payments_whereFilters the WHERE clause used by rpress_count_payments(). Runs after rpress_count_payments() has built the SQL WHERE cl…rpress_count_payment_notes_in_commentsFilters whether payment notes are included in WordPress comment counts. Runs in rpress_remove_payment_notes_in_comment_…rpress_coupon_applied_htmlFilters the HTML of the applied-coupon notice on the checkout page. Applied at the end of rpress_coupon_applied_html()…rpress_currenciesFilters the list of supported currencies. Returns currency codes mapped to display names. Add a code here to make it se…rpress_currencyFilters the store currency code. The default is the currency setting, falling back to USD. Used throughout pricing, for…rpress_currency_decimal_countFilters the number of decimal places for the store currency. Runs in rpress_currency_decimal_filter after the default o…rpress_currency_display_decimalsFilters the number of decimal places used to display currency values. Runs in rpress_get_currency_display_decimals afte…rpress_currency_nameFilters the display name of a currency. The name comes from the supported currency list and falls back to the currency…rpress_currency_symbolFilters the symbol displayed for a currency. Applied after the built-in symbol for the currency has been determined. If…rpress_currency_value_typeFilters the configured currency value type. Runs in rpress_get_currency_value_type. The value is read from the currency…rpress_current_dateFilters the current date string returned by rp_current_date(). The date is formatted in the site timezone using the sit…rpress_current_service_typeFilters the current service type (delivery, pickup and similar). Applied to the service type that the storefront consid…rpress_customers_column_{$column_name}Filters the output of a column in the admin Customers list table. Applied in column_default() of the customers list tab…rpress_customers_export_filenameFilters the file name of the customers CSV export. Runs when the customers CSV export sends its download headers. The v…rpress_customer_add_note_stringFilters the formatted note string before it is appended to a customer. Runs in RPRESS_Customer::add_note(). The string…rpress_customer_decrease_valueFilters the amount subtracted from a customer's lifetime value. Runs in RPRESS_Customer::decrease_value() before the am…rpress_customer_delivery_addressFilters the delivery address used to prefill the checkout fields. Built from the customer session and, for logged-in us…rpress_customer_increase_valueFilters the amount added to a customer's lifetime value. Runs in RPRESS_Customer::increase_value() before the value is…rpress_customer_notes_per_pageFilters the number of customer notes shown per page on the Notes view. Sets the page size used to count pages and to lo…rpress_customer_recount_sholud_increase_countFilters whether a payment is added to the customer's recalculated order count. Runs for each payment during a customer…rpress_customer_recount_sholud_increase_valueFilters whether a payment's amount is added to the customer's recalculated purchase value. Runs for each payment that p…rpress_customer_recount_should_process_paymentFilters whether a payment is counted when recalculating customer stats. Runs for each payment while customer purchase v…rpress_customer_tabsFilters the tab definitions for the customer detail screen. Returns the tab array from rpress_customer_tabs(). Each ent…rpress_customer_viewsFilters the registered views of the admin customer detail screen. Maps a view slug (the view query argument on the Cust…rpress_dashboard_stats_capFilters the capability required to view RestroPress dashboard statistics. Checked before registering the WordPress dash…rpress_date_formatFilters the date format used by rpress_local_date(). The default is the WordPress date_format option. The format is pas…rpress_decrease_customer_purchase_count_on_pendingFilters whether moving a payment back to pending reduces the customer's purchase count. Applied in RPRESS_Payment::proc…rpress_decrease_customer_purchase_count_on_refundFilters whether a refund reduces the customer's purchase count. Applied in RPRESS_Payment::process_refund after rpress_…rpress_decrease_customer_value_on_pendingFilters whether moving a payment back to pending reduces the customer's lifetime value. Applied in RPRESS_Payment::proc…rpress_decrease_customer_value_on_refundFilters whether a refund reduces the customer's lifetime value. Applied in RPRESS_Payment::process_refund after rpress_…rpress_decrease_earnings_on_undoFilters whether menu item earnings are decreased when a purchase is undone. Runs for each line item in rpress_undo_purc…rpress_decrease_sales_on_undoFilters whether menu item sales counts are decreased when a purchase is undone. Runs for each line item in rpress_undo_…rpress_decrease_store_earnings_on_pendingFilters whether moving a payment back to pending reduces store earnings. Applied in RPRESS_Payment::process_pending and…rpress_decrease_store_earnings_on_refundFilters whether a refund reduces store earnings. Applied in RPRESS_Payment::process_refund after rpress_pre_refund_paym…rpress_default_dietary_termsFilters the dietary label terms created on first run. Runs in rpress_seed_default_dietary_terms() on init (priority 11)…rpress_default_fooditems_nameFilters the singular and plural names used for menu items. Runs in rpress_get_default_labels(), which supplies the 'sin…rpress_default_gatewayFilters the default payment gateway ID. Runs in rpress_get_default_gateway. The value is the default_gateway setting (p…rpress_default_notification_soundFilters the default URL of the new order notification sound. Used when the notification sound option is empty. The defa…rpress_delivery_address_metaFilters the delivery address stored for a payment when it is created. Applied in RPRESS_Payment::insert_payment, after…rpress_delivery_options_titleFilters the title of the delivery options popup. Runs in RP_AJAX::show_delivery_options() and is returned in the html_t…rpress_delivery_time_stringFilters the delivery time label in the service popup and the delivery template. Applied to the text shown beside the de…rpress_deprecated_argument_trigger_errorFilters whether a PHP notice is triggered for a deprecated argument. Checked only when WP_DEBUG is true. The default is…rpress_deprecated_function_trigger_errorFilters whether a PHP notice is triggered for a deprecated function. Checked only when WP_DEBUG is true. The default is…rpress_dietary_argsFilters the arguments used to register the dietary label taxonomy. Runs while the menu taxonomies are registered on ini…rpress_dietary_labelsFilters the labels of the dietary label taxonomy. Runs while the menu taxonomies are registered on init, when the argum…rpress_dietary_labels_htmlFilters the dietary labels HTML for a menu item. Runs at the end of rpress_get_dietary_labels_html() after the chips ar…rpress_disable_tracking_checkinFilters whether the tracking check-in is disabled. Runs at the start of the tracking check-in routine. Return true to s…rpress_discounted_amountFilters the discounted amount calculated for a single base price. Runs at the end of RPRESS_Discount::get_discounted_am…rpress_discount_is_not_globalFilters whether a discount is restricted to specific menu items. Runs in RPRESS_Discount::get_is_not_global(). When tru…rpress_discount_labelsFilters the labels of the discount (rpress_discount) post type. Runs when the post types are registered on init, before…rpress_discount_price_by_paymentFilters the discount amount of a payment before it is formatted for display. Runs in rpress_get_discount_price_by_payme…rpress_discount_product_conditionFilters the discount product condition. Runs in RPRESS_Discount::get_product_condition() and filters the value before i…rpress_discount_row_actionsFilters the row action links under each discount name in the Discount Codes table. Applied when the Name column is rend…rpress_discount_status_cleanup_countFilters how many discounts are checked per run of the discount status cleanup. Applied in rpress_discount_status_cleanu…rpress_earnings_export_filenameFilters the file name of the earnings CSV export. Runs when the earnings CSV export sends its download headers. The val…rpress_earnings_report_export_filenameFilters the file name of the earnings report batch export. Runs when the earnings report batch export sends its downloa…rpress_edit_customers_roleFilters the capability required to edit, delete or restore customers. Evaluated at the start of the customer admin hand…rpress_edit_customer_addressFilters the sanitized customer address before it is saved from the admin. Applied in rpress_edit_customer() right after…rpress_edit_customer_infoFilters the sanitized customer fields before a customer record is updated from the admin. Applied in rpress_edit_custom…rpress_edit_print_textFilters the label of the print button on the order details screen. Applied in RPRESS_Print_Receipts::add_meta_box() to…rpress_email_attachmentsFilters the attachments passed to wp_mail for a RestroPress email. Applied in RPRESS_Emails::send() after the message i…rpress_email_content_typeFilters the final content type of a RestroPress email. Applied at the end of RPRESS_Emails::get_content_type(), after t…rpress_email_default_content_typeFilters the default content type for HTML emails. Applied in RPRESS_Emails::get_content_type() when no content type has…rpress_email_footer_textFilters the footer link text in the default email template. Runs in the default email footer template. The default is a…rpress_email_from_addressFilters the From address used for RestroPress emails. Applied in RPRESS_Emails::get_from_address(). If the stored addre…rpress_email_from_nameFilters the From name used for RestroPress emails. Applied in RPRESS_Emails::get_from_name(). The value is the from_nam…rpress_email_headersFilters the headers passed to wp_mail for a RestroPress email. Applied at the end of RPRESS_Emails::get_headers(). The…rpress_email_headingFilters the heading text of a RestroPress email. Applied in RPRESS_Emails::get_heading(). The heading is a property set…rpress_email_messageFilters the final email message after it has been built. Applied at the end of RPRESS_Emails::build_email(). In plain t…rpress_email_preview_template_tagsFilters the sample email message after the preview template tags have been replaced. Runs at the end of rpress_email_pr…rpress_email_setting_columnsFilters the column headings of the order notification emails table. Runs when the Order Notifications section of the Em…rpress_email_show_namesFilters whether menu item names are built in the order list email tag. Runs inside the callback for the order items ema…rpress_email_tagsFilters the list of email tag definitions before they are registered. Runs when RestroPress registers its built-in emai…rpress_email_templateFilters the slug of the email template in use. Applied in RPRESS_Emails::get_template() each time the template is reque…rpress_email_templatesFilters the list of available email templates. Applied at the end of RPRESS_Emails::get_templates(). The default array…rpress_email_template_make_clickableFilters whether URLs in email content are converted to links. Applied in RPRESS_Emails::text_to_html() for HTML emails…rpress_email_template_tagsFilters email content after template tags have been replaced. Applied in rpress_do_email_tags() after the registered ta…rpress_email_template_wpautopFilters whether email content is run through wpautop. Applied before wpautop() is used on email text. Returning false l…rpress_embed_hide_commentsFilters whether the comments button is hidden in menu item embeds. Runs in rpress_remove_embed_comments_button() with t…rpress_empty_cart_messageFilters the message shown when the cart is empty. Runs in rpress_empty_cart_message() for the markup shown in an empty…rpress_enabled_payment_gatewaysFilters the list of enabled payment gateways. Runs at the end of rpress_get_enabled_payment_gateways. The list contains…rpress_enabled_service_typesFilters the enabled service types as a slug => label array. Built from the enabled service slugs, using each slug's lab…rpress_enable_servicesFilters the list of enabled service slugs. Built from the Choose Services setting: either delivery and pickup, or the s…rpress_enforced_ssl_asset_filtersFilters the WordPress filter tags whose URLs are rewritten to https on SSL-enforced checkouts. Runs in rpress_enforced_…rpress_enqueue_stylesFilters the list of stylesheets enqueued on RestroPress pages. Returned by RP_Frontend_Scripts::get_styles(). The array…rpress_errorsFilters the errors stored in the session before they are returned. Runs every time rpress_get_errors reads the rpress_e…rpress_error_classFilters the CSS classes of the error wrapper printed by rpress_print_errors. Runs when stored errors exist and rpress_p…rpress_export_capabilityFilters whether the current user is allowed to run CSV exports. Runs when an exporter checks permission before sending…rpress_export_csv_cols_{$export_type}Filters the column list of a CSV export of one specific export type. Runs when a legacy (non-batch) exporter builds its…rpress_export_earnings_completed_statusesFilters the statuses counted as completed when the earnings report computes net totals. Runs for each row of the earnin…rpress_export_earnings_supported_statusesFilters the order statuses included in the earnings report export. Runs when the earnings report export builds its colu…rpress_export_get_dataFilters the rows of data about to be written to a CSV export. Runs inside the get_data method of each exporter, right a…rpress_export_get_data_{$export_type}Filters the rows written to a CSV export of one specific export type. Runs right after rpress_export_get_data in each e…rpress_fees_add_feeFilters a single fee's arguments before it is stored in the cart session. Runs inside RPRESS_Fees::add_fee() after the…rpress_fees_get_feesFilters the list of fees returned by RPRESS_Fees::get_fees(). Runs after the session fees have been narrowed by type, m…rpress_fees_set_feesFilters the full set of cart fees before they are saved to the session. Runs inside RPRESS_Fees::add_fee() after the ne…rpress_fee_extension_non_zeroFilters whether a fee extension has a non-zero fee configured. Runs right after rpress_has_fee_extension while building…rpress_file_fooditem_methodFilters the method used for file downloads of a menu item. Runs in rpress_get_file_fooditem_method with the value of th…rpress_final_priceFilters the final price of a menu item after a percentage discount is applied. Runs at the end of rpress_get_fooditem_f…rpress_flat_delivery_fee_activeFilters whether the built-in flat delivery fee is active. The flat delivery fee is only applied when this returns true…rpress_flat_delivery_fee_amountFilters the configured flat delivery fee amount. Runs in rpress_get_flat_delivery_fee() on the value of the flat_delive…rpress_fooditems_contentFilters the trimmed description of a menu item that has no excerpt. Runs in the menu item title templates when the item…rpress_fooditems_excerptFilters the trimmed description of a menu item that has an excerpt. Runs in the menu item title templates when the item…rpress_fooditems_queryFilters the WP_Query arguments for the menu items of a category. Runs once per category in the menu list templates. The…rpress_fooditem_classFilters the main CSS class of a menu item card. Runs in the single item templates for the fooditem, grid, list and mode…rpress_fooditem_columnsFilters the columns shown in the admin Menu Items list table. The default columns are cb, title, food_category, foodite…rpress_fooditem_data_tabsFilters the list of data tabs defined for the menu item editor. Builds the tab array (general, category, addons) used b…rpress_fooditem_decrease_earnings_amountFilters the new earnings total before a menu item's earnings are decreased. Runs in RPRESS_Fooditem::decrease_earnings(…rpress_fooditem_history_export_filenameFilters the file name of the menu item history CSV export. Runs when the menu item history CSV export sends its downloa…rpress_fooditem_increase_earnings_amountFilters the new earnings total before a menu item's earnings are increased. Runs in RPRESS_Fooditem::increase_earnings(…rpress_fooditem_inner_classFilters the CSS class of the inner wrapper of a menu item card. Runs in the single item templates for the fooditem, gri…rpress_fooditem_is_tax_exclusiveFilters whether a menu item is excluded from tax. Runs in rpress_fooditem_is_tax_exclusive(), used by the cart when com…rpress_fooditem_labelsFilters the labels of the fooditem (menu item) post type. Runs when the post types are registered on init, before regis…rpress_fooditem_post_type_argsFilters the arguments used to register the fooditem (menu item) post type. Runs just before register_post_type( 'foodit…rpress_fooditem_priceFilters the price of a menu item shown by rpress_price. Runs in rpress_price after the menu item price has been adjuste…rpress_fooditem_price_after_htmlFilters the HTML wrapper around a menu item price shown by rpress_price. Runs after rpress_fooditem_price has produced…rpress_fooditem_quantity_disabledFilters whether the quantity input is disabled for a menu item. Runs in RPRESS_Fooditem::quantities_disabled() with the…rpress_fooditem_redirect_to_checkoutFilters whether adding the item redirects to checkout. Runs in the purchase form. The default is the result of rpress_s…rpress_fooditem_reports_prepare_items_argsFilters the WP_Query arguments of the menu items report table. Runs just before the menu items report table queries the…rpress_fooditem_supportsFilters the features supported by the fooditem (menu item) post type. Runs when the 'fooditem' post type arguments are…rpress_fooditem_tag_argsFilters the arguments used to register the menu item tag taxonomy. Runs while the menu taxonomies are registered on ini…rpress_fooditem_tag_labelsFilters the labels of the menu item tag taxonomy. Runs while the menu taxonomies are registered on init, when the argum…rpress_fooditem_typesFilters the available menu item types. Runs in rpress_get_fooditem_types. The default array has the keys 0 (Default) an…rpress_food_type_iconFilters the image URL used for a menu item's food type icon. The default is assets/images/{food type}.png inside the pl…rpress_formatted_tax_rateFilters the formatted tax rate string. Runs in rpress_get_formatted_tax_rate() with the rate expressed as a percentage…rpress_format_amountFilters the formatted amount returned by rpress_format_amount. Runs at the end of rpress_format_amount, after number_fo…rpress_format_amount_decimalsFilters the number of decimals used when formatting an amount. Runs in rpress_format_amount when decimals are enabled…rpress_format_payment_numberFilters the formatted order number when sequential numbering is enabled. Runs in rpress_format_payment_number() after t…rpress_found_customers_queryFilters the query used to retrieve the count of found customers. Used by RPRESS_Customer_Query::set_found_items() when…rpress_frontend_script_varsFilters the data localised to the main frontend script. Runs in RP_Frontend_Scripts::load_scripts() just before the arr…rpress_gateway_admin_labelFilters the admin label of a payment gateway. Runs in rpress_get_gateway_admin_label. The label comes from the register…rpress_gateway_checkout_labelFilters the checkout label of a payment gateway. Runs in rpress_get_gateway_checkout_label. The label comes from the re…rpress_gateway_checkout_label_{$gateway_id}Filters the checkout label of a payment gateway in the gateway selector. Runs in rpress_payment_mode_select() for each…rpress_gateway_supportsFilters the features supported by a payment gateway. Runs in rpress_get_gateway_supports. The list is read from the sup…rpress_gateway_supports_buy_nowFilters whether a payment gateway supports buy now. Runs in rpress_gateway_supports_buy_now. The value is true when the…rpress_generate_cart_tokenFilters a newly generated saved-cart token. Runs in RPRESS_Cart::generate_token(). The default is a 64-character hex st…rpress_get_addonsFilters the list of add-on group terms returned by rpress_get_addons. Runs after get_terms has queried the addon_catego…rpress_get_addons_argsFilters the get_terms arguments used to query add-on groups. Runs in rpress_get_addons before get_terms is called. The…rpress_get_asset_urlFilters the URL of a bundled frontend script or stylesheet. Runs for every plugin asset that RP_Frontend_Scripts regist…rpress_get_banned_emailsFilters the list of banned email addresses and domains. Runs in rpress_get_banned_emails() after the banned emails sett…rpress_get_bundled_productsFilters the IDs of the menu items bundled with a bundle menu item. Runs at the end of RPRESS_Fooditem::get_bundled_food…rpress_get_cart_addon_taxFilters the tax calculated for an add-on in the cart. Runs at the end of RPRESS_Cart::get_addon_tax(). The tax is zero…rpress_get_cart_amountFilters the cart amount returned by the deprecated rpress_get_cart_amount(). Applied at the end of the deprecated rpres…rpress_get_cart_content_details_item_discount_amountFilters the discount amount calculated for a cart line in the cart content details. Runs in RPRESS_Cart::get_contents_d…rpress_get_cart_discountable_subtotalFilters the portion of the cart subtotal that discounts can apply to. Runs in RPRESS_Cart::get_discountable_subtotal()…rpress_get_cart_discounted_amountFilters the total discount amount of the cart. Runs in RPRESS_Cart::get_discounted_amount(). The value is the sum of th…rpress_get_cart_discounts_htmlFilters the combined HTML for all discounts applied to the cart. Applied at the end of rpress_get_cart_discounts_html()…rpress_get_cart_discount_htmlFilters the HTML for one applied discount in the cart totals. Applied inside the loop of rpress_get_cart_discounts_html…rpress_get_cart_fee_taxFilters the tax charged on cart fees. Runs at the end of RPRESS_Cart::get_tax_on_fees(). Fees flagged no_tax and negati…rpress_get_cart_items_subtotalFilters the subtotal of a set of cart items. Runs in RPRESS_Cart::get_items_subtotal() after the 'subtotal' values of t…rpress_get_cart_item_discounted_amountFilters the discounted unit price of a cart item while its discount amount is calculated. Runs in RPRESS_Cart::get_item…rpress_get_cart_item_nameFilters the display name of a cart item. Runs in RPRESS_Cart::get_item_name(). The title is the menu item title, with t…rpress_get_cart_item_price_nameFilters the price option name of a cart item. Runs in RPRESS_Cart::get_item_price_name(). The name is looked up from th…rpress_get_cart_item_quantityFilters the quantity of a menu item in the cart. Runs in RPRESS_Cart::get_item_quantity() after the line's quantity has…rpress_get_cart_item_taxFilters the tax calculated for a cart item. Runs at the end of RPRESS_Cart::get_item_tax(). The tax is zero for tax-exc…rpress_get_cart_quantityFilters the total quantity of the cart. Runs in RPRESS_Cart::get_quantity(). The base value is the number of lines in t…rpress_get_cart_subtotalFilters the cart subtotal. Runs in RPRESS_Cart::get_subtotal(). The value is the sum of the item subtotals before disco…rpress_get_cart_taxFilters the total tax of the cart. Runs at the end of RPRESS_Cart::get_tax(). The value is the sum of the per-line tax…rpress_get_cart_tax_rateFilters the tax rate for the cart. Runs at the end of rpress_get_cart_tax_rate(). The rate comes from rpress_get_tax_ra…rpress_get_cart_tokenFilters the saved cart token of the current visitor. Runs in RPRESS_Cart::get_token(). The token comes from the rpress_…rpress_get_cart_totalFilters the cart total. Runs in RPRESS_Cart::get_total() after subtotal, discounts, tax and fees have been combined and…rpress_get_categoriesFilters the get_terms() arguments used to load menu categories. Applied in rpress_get_categories() after the passed par…rpress_get_checkout_button_purchase_labelFilters the label of the Place Order button. Runs in rpress_get_checkout_button_purchase_label(). The label is empty wh…rpress_get_checkout_uriFilters the URL of the checkout page. Runs at the end of rpress_get_checkout_uri(), after extra query arguments, HTTPS…rpress_get_country_nameFilters the country name returned for a country code. Applied at the end of rpress_get_country_name(). The function loo…rpress_get_current_page_urlFilters the URL of the current page returned by rpress_get_current_page_url(). The URL is built from the request. On th…rpress_get_discount_amountFilters the discount amount. Runs in RPRESS_Discount::get_amount(). The filtered value is cast to float before it is re…rpress_get_discount_category_reqsFilters the discount required categories. Runs in RPRESS_Discount::get_category_reqs() and filters the value before it…rpress_get_discount_codeFilters the discount code. Runs in RPRESS_Discount::get_code() and filters the value before it is returned to the calle…rpress_get_discount_excluded_categoryFilters the discount excluded categories. Runs in RPRESS_Discount::get_excluded_category() and filters the value before…rpress_get_discount_excluded_productsFilters the discount excluded menu items. Runs in RPRESS_Discount::get_excluded_products() and filters the value before…rpress_get_discount_expirationFilters the discount expiration date. Runs in RPRESS_Discount::get_expiration() and filters the value before it is retu…rpress_get_discount_max_usesFilters the discount maximum number of uses. Runs in RPRESS_Discount::get_max_uses() and filters the value before it is…rpress_get_discount_min_priceFilters the discount minimum cart amount. Runs in RPRESS_Discount::get_min_price() and filters the value before it is r…rpress_get_discount_price_valueFilters the calculated discount value for a code. Applied in rpress_get_discount_value() after the value has been calcu…rpress_get_discount_product_reqsFilters the discount product requirements. Runs in RPRESS_Discount::get_product_reqs() and filters the value before it…rpress_get_discount_startFilters the discount start date. Runs in RPRESS_Discount::get_start() and filters the value before it is returned to th…rpress_get_discount_statusFilters the discount status. Runs in RPRESS_Discount::get_status() and filters the value before it is returned to the c…rpress_get_discount_status_labelFilters the display label for a discount status. Runs in RPRESS_Discount::get_status_label(), which maps the expired, i…rpress_get_discount_typeFilters the discount type. Runs in RPRESS_Discount::get_type() and filters the value before it is returned to the calle…rpress_get_discount_usesFilters the discount use count. Runs in RPRESS_Discount::get_uses() and filters the value before it is returned to the…rpress_get_earnings_by_date_argsFilters the query arguments used by the deprecated rpress_get_earnings_by_date(). Applied in the deprecated rpress_get_…rpress_get_failed_transaction_uriFilters the URL of the failed transaction page. Runs at the end of rpress_get_failed_transaction_uri(). The URL is the…rpress_get_fee_totalFilters the total of the cart fees. Runs in RPRESS_Cart::get_total_fees(). Fees that are tied to a specific menu item a…rpress_get_fooditem_button_behaviorFilters the purchase button behavior of a menu item. Runs at the end of RPRESS_Fooditem::get_button_behavior(). The val…rpress_get_fooditem_priceFilters the base price of a menu item. Runs at the end of RPRESS_Fooditem::get_price(). The price comes from the rpress…rpress_get_fooditem_skuFilters the SKU of a menu item. Runs at the end of RPRESS_Fooditem::get_sku(). The value comes from the rpress_sku meta…rpress_get_fooditem_typeFilters the type of a menu item, default or bundle. Runs at the end of RPRESS_Fooditem::get_type(). The value comes fro…rpress_get_graph_dataFilters the data plotted by an RPRESS_Graph line graph. Runs each time the graph reads its data while building the plot…rpress_get_ipFilters the IP address detected for the current visitor. The address is taken from HTTP_CLIENT_IP, HTTP_X_FORWARDED_FOR…rpress_get_item_food_typeFilters the food type (such as veg or non-veg) of a menu item. Runs in RPRESS_Fooditem::get_food_type() with the value…rpress_get_lostpassword_urlFilters the URL of the lost password page. Runs in rpress_get_lostpassword_url(). The default is the permalink of the p…rpress_get_next_payment_numberFilters the next sequential order number. Runs at the end of rpress_get_next_payment_number(), after the stored last nu…rpress_get_optionFilters the value returned by rpress_get_option() for any setting. Runs on every rpress_get_option() call, after the st…rpress_get_option_{$key}Filters the value returned by rpress_get_option() for one specific setting key. Runs after the general rpress_get_optio…rpress_get_payments_argsFilters the query arguments passed to RPRESS_Payments_Query by rpress_get_payments(). Runs inside rpress_get_payments()…rpress_get_payment_feesFilters the list of fees returned by RPRESS_Payment::get_fees. Applied to the fees of a payment after they were filtere…rpress_get_payment_metaFilters a payment meta value returned by RPRESS_Payment::get_meta. Applied as the last step of get_meta for every meta…rpress_get_payment_meta_{$meta_key}Filters a payment meta value read with RPRESS_Payment::get_meta, per meta key. Applied in RPRESS_Payment::get_meta righ…rpress_get_payment_subtotalFilters the subtotal of a payment. Applied when the subtotal property of an RPRESS_Payment is read. The filter runs on…rpress_get_payment_taxFilters the tax amount of a payment. Applied when the tax property of an RPRESS_Payment is read. The filter runs on eve…rpress_get_payment_transaction_idFilters the transaction ID of a payment. Applied when the transaction_id property of an RPRESS_Payment is read. The fil…rpress_get_payment_transaction_id-{$gateway}Filters the transaction ID of a payment when none has been stored, per gateway. Applied in RPRESS_Payment::setup_transa…rpress_get_price_nameFilters the name of a menu item price option. Runs at the end of rpress_get_price_name(). The value is the name of the…rpress_get_price_option_amountFilters the amount of a variable price option. Runs in rpress_get_price_option_amount with the sanitized amount of the…rpress_get_price_option_nameFilters the name of a variable price option. Runs in rpress_get_price_option_name after the name is read from the menu…rpress_get_purchase_summaryFilters the one-line summary of a purchase. Runs at the end of rpress_get_purchase_summary(). The summary is the option…rpress_get_reporting_viewFilters the report view ID resolved from the request. Runs in rpress_get_reporting_view() after the view is read from t…rpress_get_report_dates_default_rangeFilters the default date range used by the report date selector. Runs in rpress_get_report_dates() when the request has…rpress_get_sales_by_date_argsFilters the query arguments used by the deprecated rpress_get_sales_by_date(). Applied in the deprecated rpress_get_sal…rpress_get_sales_tax_for_yearFilters the total sales tax collected in a year. Runs in rpress_get_sales_tax_for_year(). The value is the sum of the _…rpress_get_settingsFilters all stored RestroPress settings. Runs at the end of rpress_get_settings(), after the single rpress_settings opt…rpress_get_state_nameFilters the state name returned for a state code. Applied at the end of rpress_get_state_name(). The function looks the…rpress_get_success_page_uriFilters the URL of the success (order confirmation) page. Runs at the end of rpress_get_success_page_uri(). The URL is…rpress_get_symlink_dirFilters the absolute path of the symlink directory in the uploads folder. The directory is rpress/symlinks inside the u…rpress_get_symlink_urlFilters the URL of the symlink directory in the uploads folder. The directory is rpress/symlinks inside the uploads dir…rpress_get_taxonomy_labelsFilters the name labels returned for a menu taxonomy. Runs at the end of rpress_get_taxonomy_labels() with the array of…rpress_get_tax_ratesThe rpress_get_tax_rates filter is applied to the Retrieve tax rates of RestroPress. It receives one parameters: return…rpress_get_tax_ratesFilters the stored tax rates array. Runs in rpress_get_tax_rates() on the value of the rpress_tax_rates option (default…rpress_get_template_partFilters the template file names searched for a template part. Runs in rpress_get_template_part() after the candidate li…rpress_get_total_earnings_argsFilters the payment query arguments used to calculate total earnings. Runs in rpress_get_total_earnings() only when no…rpress_get_upload_dirFilters the absolute path of the RestroPress upload directory. The directory is rpress inside the WordPress uploads dir…rpress_get_users_ordered_products_argsFilters the query arguments for a user's ordered menu items. Runs in rpress_get_users_ordered_products() before get_pos…rpress_get_users_orders_argsFilters the query arguments used to fetch a user's orders. Runs in rpress_get_users_orders() before the arguments are p…rpress_get_user_verification_request_urlFilters the URL that requests a new verification email. Runs in rpress_get_user_verification_request_url(). The URL is…rpress_get_user_verification_token_algorithmFilters the hash algorithm used to derive the verification token secret. Runs in rpress_get_user_verification_token()…rpress_get_user_verification_token_argsFilters the extra query arguments used when generating a verification token. Runs in rpress_get_user_verification_token…rpress_get_user_verification_token_secretFilters the secret mixed into user verification tokens. Runs in rpress_get_user_verification_token(). The default is th…rpress_get_user_verification_urlFilters the account verification URL for a user. Runs in rpress_get_user_verification_url(). The URL points to the veri…rpress_get_variable_pricesFilters the variable price options of a menu item. Runs at the end of RPRESS_Fooditem::get_prices(). The array is read…rpress_global_checkout_script_varsFilters the data localised to the checkout script. Runs in RP_Frontend_Scripts::load_scripts() before the array is loca…rpress_handle_service_cookieFilters the list of enabled service types used to validate the service_type cookie. Runs on init inside RestroPress::rp…rpress_has_fee_extensionFilters whether a fee-related extension is considered active for the service chips. Runs while building the checkout se…rpress_has_variable_pricesFilters whether a menu item has variable prices. Runs in RPRESS_Fooditem::has_variable_prices() with the value of the _…rpress_hong_kong_statesFilters the list of states returned for Hong Kong. Applied at the end of rpress_get_hong_kong_states_list(), which rpre…rpress_hungary_statesFilters the list of states returned for Hungary. Applied at the end of rpress_get_hungary_states_list(), which rpress_g…rpress_import_capabilityFilters whether the current user may run a batch import. Used by the base batch import class to decide whether an impor…rpress_include_pending_order_count_in_menuFilters whether the pending order count badge is shown on the Orders admin menu item. Checked in RP_Admin_Menus::menu_o…rpress_increment_payment_numberFilters whether the next sequential order number should be incremented. Runs in rpress_get_next_payment_number() after…rpress_indian_statesFilters the list of states returned for India. Applied at the end of rpress_get_indian_states_list(), which rpress_get_…rpress_indonesia_statesFilters the list of states returned for Indonesia. Applied at the end of rpress_get_indonesian_states_list(), which rpr…rpress_insert_discountFilters the discount meta before a new discount is inserted. Runs in RPRESS_Discount::add() when a new discount is crea…rpress_insert_discount_argsFilters the post arguments used to create a discount post. Runs in RPRESS_Discount::insert_discount() just before wp_in…rpress_insert_payment_argsFilters the arguments passed to wp_insert_post when a payment is created. Applied in RPRESS_Payment::insert_payment. Th…rpress_insert_user_argsFilters the arguments used to create a new user during checkout registration. Runs in rpress_register_and_login_new_use…rpress_insert_user_dataFilters the registration data after the checkout user has been created. Runs right after wp_insert_user() succeeds. The…rpress_iranian_statesFilters the list of states returned for Iran. Applied at the end of rpress_get_iranian_states_list(), which rpress_get_…rpress_is_add_button_visibleFilters whether the add button is visible on the storefront. Runs in rpress_is_add_button_visible(). The visibility is…rpress_is_ajax_disabledFilters whether RestroPress AJAX is considered disabled for the cart. The default is false, because the setting to disa…rpress_is_ajax_enabledFilters whether RestroPress AJAX is considered enabled for the cart. Returns the inverse of rpress_is_ajax_disabled() b…rpress_is_caching_plugin_activeFilters whether a page caching plugin is considered active. Runs at the end of rpress_is_caching_plugin_active(). The d…rpress_is_checkoutFilters whether the current request is the checkout page. Runs at the end of rpress_is_checkout(). The check passes if…rpress_is_debug_modeFilters whether RestroPress debug mode is enabled. True when the Debug Mode setting is on or the RPRESS_DEBUG_MODE cons…rpress_is_discount_activeFilters whether a discount is currently active. Runs at the end of RPRESS_Discount::is_active(). The value is true when…rpress_is_discount_categories_req_metFilters whether the cart satisfies a discount's category requirements. Runs at the end of RPRESS_Discount::is_categorie…rpress_is_discount_expiredFilters whether a discount has expired. Runs at the end of RPRESS_Discount::is_expired() with the computed result. The…rpress_is_discount_maxed_outFilters whether a discount has reached its maximum uses. Runs at the end of RPRESS_Discount::is_maxed_out() with the co…rpress_is_discount_min_metFilters whether the cart meets the minimum amount required by a discount. Runs at the end of RPRESS_Discount::is_min_pr…rpress_is_discount_products_req_metFilters whether the cart satisfies a discount's menu item requirements. Runs at the end of RPRESS_Discount::is_product_…rpress_is_discount_single_useFilters whether a discount can be used only once per customer. Runs when the single-use flag of a discount is read, in…rpress_is_discount_startedFilters whether a discount has started. Runs at the end of RPRESS_Discount::is_started() with the computed result. A di…rpress_is_discount_usedFilters whether a single-use discount has already been redeemed by the customer. Runs at the end of RPRESS_Discount::is…rpress_is_discount_validFilters whether a discount code is valid at the time of purchase. Runs at the end of RPRESS_Discount::is_valid(). The i…rpress_is_email_bannedFilters whether an email address is considered banned. Runs at the end of rpress_is_email_banned() after the address ha…rpress_is_failure_pageFilters whether the current request is the Failed Transaction page. Runs inside rpress_is_failed_transaction_page(), wh…rpress_is_free_fooditemFilters whether a menu item, or one of its price options, is free. Runs at the end of RPRESS_Fooditem::is_free(). The r…rpress_is_gateway_activeFilters whether a payment gateway is active. Runs in rpress_is_gateway_active after the gateway ID is looked up in the…rpress_is_guest_paymentFilters whether a payment was placed by a guest. Runs at the end of rpress_is_guest_payment(). The default is true when…rpress_is_orderableFilters whether a menu item can currently be ordered. The default is true. Core attaches an availability check to this…rpress_is_order_history_pageFilters whether the current page is the order history page. Runs in rpress_is_order_history_page(). The value is true w…rpress_is_order_restorableFilters whether an order can be restored from the trash. Runs at the end of rpress_is_order_restorable() with true when…rpress_is_order_trashableFilters whether an order can be trashed. Runs at the end of rpress_is_order_trashable() with the computed result: true…rpress_is_payment_completeFilters whether a payment is considered complete. Runs at the end of rpress_is_payment_complete(). The default is true…rpress_is_preorder_enabledFilters whether pre-orders are enabled for a service type. Computed from the pre-order timing settings for the given se…rpress_is_service_enabledFilters whether a service type is enabled. True when the given service slug is among the enabled service types. The res…rpress_is_ssl_enforcedFilters whether SSL is enforced on the checkout page. Runs in rpress_is_ssl_enforced() with the value of the enforce SS…rpress_is_store_openFilters whether the store is open for a service type and date. Runs at the end of rpress_is_store_open(), after the ope…rpress_is_success_pageFilters whether the current request is the success page. Runs at the end of rpress_is_success_page(). The check passes…rpress_is_test_modeFilters whether RestroPress is in test mode. The default comes from the Test Mode setting. The result is cast to a bool…rpress_is_zip_validFilters whether a ZIP / postal code is valid for the given country. Called at the end of the card ZIP validation. The d…rpress_italian_statesFilters the list of states returned for Italy. Applied at the end of rpress_get_italian_states_list(), which rpress_get…rpress_item_in_cartFilters whether a menu item is in the cart. Runs at the end of RPRESS_Cart::is_item_in_cart() after the cart lines have…rpress_item_price_displayFilters the price shown on a menu item card. Runs in the menu item card templates for the fooditem and grid layouts whe…rpress_item_quantities_enabledFilters whether item quantities are enabled. Runs in rpress_item_quantities_enabled(), which reads the item_quantities…rpress_japanese_statesFilters the list of states returned for Japan. Applied at the end of rpress_get_japanese_states_list(), which rpress_ge…rpress_live_orders_columnsFilters the column definitions of the Live Orders board. Each entry is keyed by column slug and has label, statuses (or…rpress_live_orders_max_cardsFilters the maximum number of order cards loaded onto the Live Orders board. Sets posts_per_page for the queries that p…rpress_live_orders_query_argsFilters the WP_Query arguments used to load orders for the Live Orders board. The default query selects rpress_payment…rpress_live_orders_window_hoursFilters the rolling window in hours used by the Live Orders view. Returns the number of hours (default 12) cast to an i…rpress_load_head_stylesFilters whether the inline fooditem head styles are printed. Applied in RP_Frontend_Scripts::rp_head_styles() on wp_hea…rpress_local_dateFilters the localized date string returned by rpress_local_date(). Runs after the date has been converted to the site t…rpress_local_taxes_onlyFilters whether only local taxes are enabled, in the deprecated rpress_local_taxes_only(). Applied in the deprecated rp…rpress_login_formFilters the HTML of the login form returned by rpress_login_form(). The function captures the output of the login short…rpress_login_redirectFilters the URL a customer is redirected to after a successful login. Runs in rpress_process_login_form after the crede…rpress_log_typesFilters the list of valid log type slugs. Returned by RPRESS_Logging::log_types(), which also backs valid_type(). The d…rpress_malaysian_statesFilters the list of states returned for Malaysia. Applied at the end of rpress_get_malaysian_states_list(), which rpres…rpress_menu_access_levelFilters the capability returned by the deprecated rpress_get_menu_access_level(). Applied in rpress_get_menu_access_lev…rpress_menu_order_countFilters the number shown in the pending order badge on the Orders admin menu item. Applied after the pending count has…rpress_merge_identical_cart_itemsFilters whether adding an identical item raises the quantity of the existing cart line. Runs in RPRESS_Cart::add(). Whe…rpress_metabox_fields_saveFilters the list of post meta keys saved from the menu item editor. Runs when the save handler collects the field names…rpress_metabox_save_{$field}Filters a single menu item meta value after sanitization and before it is saved. The dynamic part of the name is the me…rpress_mexican_statesFilters the list of states returned for Mexico. Applied at the end of rpress_get_mexican_states_list(), which rpress_ge…rpress_microdata_wrapperFilters the microdata description wrapper around menu item content. Runs in rpress_microdata_description() on the singl…rpress_modal_titleFilters the title shown in the menu item popup. Runs in the AJAX handlers that open the menu item popup (show_products…rpress_modify_service_labelFilters the display label of a service type (Delivery or Pickup) in the front-end service selectors. Applied wherever a…rpress_multiple_discounts_allowedFilters whether multiple discount codes can be applied to one cart. Applied in rpress_multiple_discounts_allowed(), whi…rpress_nepalese_statesFilters the list of states returned for Nepal. Applied at the end of rpress_get_nepalese_states_list(), which rpress_ge…rpress_new_zealand_statesFilters the list of states returned for New Zealand. Applied at the end of rpress_get_new_zealand_states_list(), which…rpress_non_setting_typesFilters the setting types that are skipped during sanitization. Runs for each registered setting during the settings sa…rpress_non_trashable_statusesFilters the payment statuses for which an order cannot be moved to the trash. Used by rpress_is_order_trashable(). An o…rpress_not_availableFilters the label shown when a menu item is not available. Runs in the purchase link when rpress_fooditem_available() i…rpress_no_guest_checkoutFilters whether guest checkout is disallowed. The default is true when the Login/Register Option setting is login only…rpress_offline_payment_gatewaysFilters the gateway IDs treated as offline gateways. Runs in rpress_is_offline_gateway. The default list is manual, cas…rpress_orders_available_service_typesFilters the service types offered in the Orders list service type filter. The default list is built from the enabled se…rpress_orders_due_soon_window_minutesFilters the number of minutes before an order's due time that counts as due soon. Used by the Orders list to label orde…rpress_orders_table_order_numberFilters the order number displayed in the Orders list. The default is a hash followed by the number returned by rpress_…rpress_order_auto_accept_delayFilters the delay in seconds before a new order is automatically accepted. Runs when an order is queued for auto-accept…rpress_order_note_metaFilters the order note stored for a payment when it is created. Applied in RPRESS_Payment::insert_payment to the custom…rpress_order_row_actionsFilters the row actions built for an order in the Orders list. Contains Trash, or Restore and Delete Permanently, links…rpress_order_statusesFilters the available order statuses. Runs at the end of rpress_get_order_statuses(). The array maps order status slugs…rpress_order_status_colorsFilters the colors used for order statuses. Runs at the end of rpress_get_order_status_colors(). The array holds a back…rpress_order_status_modelFilters the canonical order status model used by the tracker and admin dropdowns. Runs at the end of rpress_order_statu…rpress_order_status_use_transactionFilters whether order status updates use an InnoDB transaction. Evaluated by rpress_order_status_supports_transactions(…rpress_order_tracker_stepsFilters the customer-facing order tracker steps for a service type. Runs at the end of rpress_order_tracker_steps(). Pi…rpress_paymentFilters each payment object collected by RPRESS_Payments_Query::get_payments. Applied to every payment found by the que…rpress_payments_export_filenameFilters the file name of the payments CSV export. Runs when the payments CSV export sends its download headers. The val…rpress_payments_table_bulk_actionsFilters the bulk actions available in the Orders list. Returns the dropdown options as action key to label. The default…rpress_payments_table_columnFilters the HTML for a cell in the Orders list table. Applied to the value produced for a column. The default column re…rpress_payments_table_columnsFilters the columns of the Orders list table. Default columns are cb, ID, items, due_time, payment, order_status, amoun…rpress_payments_table_gatewaysFilters the gateway options in the Orders list advanced filters. Builds the Gateway dropdown from the registered gatewa…rpress_payments_table_search_gatewayFilters the gateway used to filter the orders query. Receives the gateway value from the request (or null when none is…rpress_payments_table_sortable_columnsFilters the sortable columns of the Orders list table. The default sortable columns are ID and amount. Each value is an…rpress_payments_table_viewsFilters the status view links shown above the Orders list. The array holds the segmented tabs (all, needs_attention, ne…rpress_payment_addressFilters the billing address array returned for a payment. Runs when the billing address array for the order, with the k…rpress_payment_add_fooditem_argsFilters the arguments used when adding a menu item to an existing payment. Applied in RPRESS_Payment::add_fooditem to t…rpress_payment_amountFilters the total amount returned for a payment. Runs at the end of rpress_get_payment_amount(), which returns the paym…rpress_payment_cart_detailsFilters the cart details returned for a payment. Applied when the cart_details property of an RPRESS_Payment is read. T…rpress_payment_completed_dateFilters the completion date of a payment. Applied when the completed_date property of an RPRESS_Payment is read. The fi…rpress_payment_confirm_{$payment_confirmation}Filters the success page content for a given payment confirmation type. Runs in rpress_filter_success_page_content() on…rpress_payment_currencyFilters the currency name returned for a payment. Runs at the end of rpress_get_payment_currency(). The filtered value…rpress_payment_currency_codeFilters the currency code of a payment. Applied when the currency property of an RPRESS_Payment is read. The filter run…rpress_payment_currency_defaultFilters the currency assigned to a payment that has no stored currency. Applied in RPRESS_Payment::setup_currency only…rpress_payment_customer_idFilters the customer ID returned for a payment. Runs when the customer ID linked to the order property is read from an…rpress_payment_details_transaction_id-{$gateway}Filters a gateway's transaction ID as displayed on the order details screen. The dynamic part of the name is the order'…rpress_payment_discounted_amountFilters the discounted amount of a payment (total minus fees and tax). Applied when the discounted_amount property of a…rpress_payment_discountsFilters the discount codes of a payment. Applied when the discounts property of an RPRESS_Payment is read. The filter r…rpress_payment_fee_keysFilters the fee fields that RPRESS_Payment::remove_fee_by accepts as lookup keys. remove_fee_by returns false unless th…rpress_payment_gatewayFilters the gateway key of a payment. Applied when the gateway property of an RPRESS_Payment is read. The filter runs o…rpress_payment_gatewaysFilters the registered payment gateways. Runs in rpress_get_payment_gateways after the built-in gateways (paypal, manua…rpress_payment_get_ip_address_urlFilters the HTML link shown for an order's IP address. Used on the order details screen to render the customer's IP add…rpress_payment_keyFilters the purchase key returned for a payment. Runs when the unique purchase key of the order property is read from a…rpress_payment_labelsFilters the labels of the order (rpress_payment) post type. Runs when the post types are registered on init, before reg…rpress_payment_metaFilters the _rpress_payment_meta array before it is saved. Applied when a payment is inserted and again each time RPRES…rpress_payment_meta_cart_detailsFilters the cart details array returned for a payment. Runs at the end of rpress_get_payment_meta_cart_details(), after…rpress_payment_meta_fooditemsFilters the list of menu items returned for a payment. Runs when the list of menu items stored in the order meta proper…rpress_payment_meta_user_infoFilters the user info array returned for a payment. Runs when the user info array saved in the order meta (id, email, f…rpress_payment_numberFilters the order number returned for a payment. Runs when the order number property is read from an RPRESS_Payment obj…rpress_payment_recovery_urlFilters the URL a customer can use to recover an unpaid payment. Applied in RPRESS_Payment::get_recovery_url, which ret…rpress_payment_row_actionsFilters the row actions of the email column in the Orders list. Array of HTML link strings keyed by action (email_links…rpress_payment_stats_earnings_totalFilters the summed payment totals before taxes are subtracted in get_earnings. Runs in RPRESS_Payment_Stats::get_earnin…rpress_payment_stats_item_earningsFilters the running earnings total for a menu item while it is summed across payments. Runs in RPRESS_Payment_Stats::ge…rpress_payment_stats_post_statusesFilters the payment statuses that the stats range queries count. Used by RPRESS_Payment_Stats range methods to choose w…rpress_payment_statusesFilters the available payment statuses. Runs at the end of rpress_get_payment_statuses(), which feeds the status filter…rpress_payment_status_colorsFilters the colors used for payment statuses. Runs at the end of rpress_get_payment_status_colors(). The array holds a…rpress_payment_unlimited_fooditemsFilters whether a payment is flagged as having unlimited menu items. Runs when the unlimited flag of the order property…rpress_payment_user_emailFilters the customer email address returned for a payment. Runs when the customer email address stored with the order p…rpress_payment_user_idFilters the WordPress user ID returned for a payment. Runs when the WordPress user ID linked to the order (0 for guests…rpress_payment_user_ipFilters the IP address returned for a payment. Runs when the IP address stored with the order property is read from an…rpress_paypal_allowed_redirect_hostsFilters the hosts allowed for safe redirects to PayPal. Runs in rpress_get_paypal_allowed_redirect_hosts. The default l…rpress_paypal_image_urlFilters the image URL shown on the PayPal checkout page. Runs in rpress_get_paypal_image_url with the value of the payp…rpress_paypal_link_payment_details_transaction_idFilters the HTML link shown for a PayPal transaction ID on the order details screen. Runs inside the callback that turn…rpress_paypal_oauth_scopesFilters the OAuth scopes requested when connecting a PayPal account. Runs in rpress_get_paypal_oauth_scopes. The defaul…rpress_paypal_page_styleFilters the PayPal page style returned by the deprecated rpress_get_paypal_page_style(). Applied in the deprecated rpre…rpress_paypal_redirect_argsFilters the arguments sent to PayPal when redirecting the buyer. Runs in rpress_process_paypal_purchase after the pendi…rpress_paypal_refund_api_credentialsFilters the PayPal NVP API credentials used when refunding a payment. Runs in rpress_refund_paypal_purchase before the…rpress_paypal_refund_body_argsFilters the body fields sent to PayPal when refunding a payment. Runs in rpress_refund_paypal_purchase after the creden…rpress_paypal_refund_header_argsFilters the HTTP headers sent with the PayPal refund request. Runs in rpress_refund_paypal_purchase after the body is f…rpress_paypal_refund_request_argsFilters the wp_remote_post arguments used for the PayPal refund request. Runs just before rpress_refund_paypal_purchase…rpress_paypal_sandbox_fallback_currencyFilters the fallback currency used for PayPal sandbox checkout when the store currency is INR. Runs in rpress_get_paypa…rpress_paypal_settingsFilters the PayPal Standard settings fields shown in the gateway settings. Runs in rpress_register_paypal_gateway_setti…rpress_paypal_set_payment_transaction_idFilters the PayPal transaction ID read from an order's notes. Runs in rpress_paypal_get_payment_transaction_id, which i…rpress_paypal_uriFilters the PayPal URL used for checkout or IPN verification. Runs at the end of rpress_get_paypal_redirect. The URL po…rpress_paypal_web_accept_and_cart_dataFilters the PayPal web accept and cart IPN data before the order is updated. Runs at the start of rpress_process_paypal…rpress_peruvian_statesFilters the list of states returned for Peru. Applied at the end of rpress_get_peruvian_states_list(), which rpress_get…rpress_pickup_fee_managedFilters whether an extension manages the pickup fee. Runs in the pickup branch of the sublabel logic, after the fee-ext…rpress_pickup_show_free_labelFilters whether the pickup chip shows a 'Free' sublabel. Runs in the pickup branch of the checkout service chip sublabe…rpress_pickup_time_stringFilters the pickup time label in the service popup and the pickup template. Applied to the text shown beside the pickup…rpress_pie_graph_outputFilters the HTML and script output of a pie graph. Runs when RPRESS_Pie_Graph builds its markup, after the chart script…rpress_pre_add_to_cart_contentsFilters the cart contents before a new item is added. Runs in RPRESS_Cart::add() right after rpress_pre_add_to_cart. Th…rpress_prices_include_taxFilters whether menu item prices include tax. Runs in rpress_prices_include_tax(). The default is true only if the pric…rpress_price_rangeFilters the HTML for the price range of a menu item with variable prices. Runs at the end of rpress_price_range after t…rpress_print_settings_fieldsFilters the saved settings array used by the receipt printing code. Applied to the full rpress_settings option when RPR…rpress_print_textFilters the HTML of the print button in the orders list. Applied to the content of the print button rendered in the Pri…rpress_privacy_api_access_log_itemFilters the data points exported for each API access log entry. Runs in rpress_privacy_api_access_log_exporter() for ea…rpress_privacy_customer_recordFilters the customer record group in a personal data export. Runs in rpress_privacy_customer_record_exporter() after th…rpress_privacy_file_fooditem_log_itemFilters the data points built for each file download log entry in a personal data export. Runs in rpress_privacy_file_f…rpress_privacy_order_details_itemFilters the data points exported for each order in a personal data export. Runs in rpress_privacy_billing_information_e…rpress_privacy_payment_status_action_{$status}Filters the privacy action taken for a payment with a given status. The dynamic part of the name is the payment status…rpress_privacy_policy_additional_collectionFilters the list of extra data items mentioned in the suggested privacy policy. Runs on admin_init in rpress_register_p…rpress_privacy_policy_contentFilters the suggested privacy policy text that RestroPress registers. Runs on admin_init in rpress_register_privacy_pol…rpress_proceed_checkoutFilters the response returned when the customer proceeds to checkout. Runs in the proceed_checkout AJAX handler after r…rpress_process_paypal_ipn_dataFilters the PayPal IPN data before it is verified and processed. Runs in rpress_process_paypal_ipn after the posted IPN…rpress_process_paypal_refund_dataFilters the PayPal refund IPN data before the order is refunded. Runs at the start of rpress_process_paypal_refund. The…rpress_product_details_widget_fooditem_titleFilters the menu item title markup in the menu item details widget. Runs when the menu item details widget builds its o…rpress_product_details_widget_purchase_buttonFilters the purchase button markup in the menu item details widget. Runs when the widget builds its output and the "sho…rpress_product_dropdown_argsFilters the query arguments used to build the menu item dropdown. Runs in RPRESS_HTML_Elements::product_dropdown() afte…rpress_product_dropdown_statusFilters the post statuses of menu items listed for users with edit_products. Used when building the menu item dropdown…rpress_product_dropdown_status_noprivFilters the post statuses of menu items listed for users without edit_products. Used when building the menu item dropdo…rpress_product_notesFilters the notes text of a menu item. Runs in RPRESS_Fooditem::get_notes() with the value of the rpress_product_notes…rpress_protected_directory_allowed_filetypesFilters the file extensions that remain downloadable in the protected uploads folder. Runs when the .htaccess rules for…rpress_protected_directory_htaccess_rulesFilters the .htaccess rules written to the protected uploads folder. Runs at the end of rpress_get_htaccess_rules, afte…rpress_purchase_data_before_gatewayFilters the purchase data array just before it is handed to the payment gateway. Runs in the checkout form handler afte…rpress_purchase_fooditem_formFilters the complete purchase form HTML for a menu item. Runs at the end of the purchase link builders on the buffered…rpress_purchase_form_required_fieldsFilters the list of required checkout form fields. Called each time the required fields are needed during checkout vali…rpress_purchase_from_addressFilters the sender email address used in the customer order receipt. Runs in rpress_email_purchase_receipt after the Fr…rpress_purchase_from_nameFilters the sender name used in order emails. Runs when the customer receipt, the admin order notification and the test…rpress_purchase_headingFilters the heading shown at the top of the customer order email. Runs after the heading is read from the email setting…rpress_purchase_link_argsFilters the final purchase link arguments. Runs after the passed arguments have been merged with the defaults and the m…rpress_purchase_link_defaultsFilters the default arguments for a menu item purchase link. Runs in rpress_get_purchase_link() and rpress_get_purchase…rpress_purchase_receiptFilters the final customer receipt body before email tags are replaced. Runs last in rpress_get_email_body_content, aft…rpress_purchase_receipt_template_tags_descriptionFilters the template tag help text of the deprecated purchase receipt tags function. Applied in the deprecated rpress_g…rpress_purchase_receipt_{$template}Filters the customer receipt body for the active email template. Runs in rpress_get_email_body_content after the body f…rpress_purchase_stats_by_userFilters a user's purchase statistics. Runs in rpress_get_purchase_stats_by_user(). The value is an array with purchases…rpress_purchase_subjectFilters the subject line of the customer order email. Runs after the subject is read from the email settings for the or…rpress_realtime_channel_nameFilters the realtime channel name for an order. Runs in RPRESS_Realtime::build_channel_name(). The default is rpress-or…rpress_realtime_client_configFilters the realtime client configuration sent to the order tracker. Runs at the end of RPRESS_Realtime::get_client_con…rpress_realtime_configFilters the realtime provider configuration. Runs in RPRESS_Realtime::get_provider_config() with defaults read from the…rpress_receipt_attachmentsFilters the list of file attachments sent with the customer order email. Runs when the customer receipt is prepared. Th…rpress_receipt_discount_priceFilters the Discounts text in the printable receipt. Applied while the printable receipt is rendered, around the Discou…rpress_receipt_guest_error_messageFilters the error message shown when a guest's purchase session has expired. Shown by the receipt shortcode when there…rpress_receipt_headersFilters the headers of the customer order email. Runs just before the customer receipt is sent. The value is the header…rpress_receipt_item_note_labelFilters the label printed before a customer's note on a receipt item. Applied in the printable receipt for each cart it…rpress_receipt_page_body_classFilters the body CSS class of the in-browser receipt page. Runs when the receipt is rendered in the browser through the…rpress_receipt_paper_sizesFilters the printer paper sizes offered for receipts. Returned by RPRESS_Print_Receipts::paper_sizes() and used as the…rpress_receipt_payment_address_textFilters the Address label in the printed receipt. Applied while the printable receipt is built, and only for delivery o…rpress_receipt_payment_note_textFilters the Instructions label in the printed receipt. Applied while the printable receipt is built, and only when the…rpress_receipt_payment_type_textFilters the Payment Type label in the printed receipt. Applied while the printable receipt is built by the print AJAX h…rpress_receipt_price_columnFilters the Price column heading text in the printable receipt. Applied while the printable receipt is rendered, around…rpress_receipt_product_columnFilters the Items column heading text in the printable receipt. Applied while the printable receipt is rendered, around…rpress_receipt_subtotal_amountFilters the Subtotal text in the printable receipt. Applied while the printable receipt is rendered, around the Subtota…rpress_receipt_tax_priceFilters the tax row label in the printable receipt totals. Applied when the order has tax. The value starts as the name…rpress_receipt_total_priceFilters the Total text in the printable receipt. Applied while the printable receipt is rendered, around the Total text…rpress_recount_accepted_statusesFilters the payment statuses counted when recalculating stats. Runs in the Tools batch processors that recalculate stor…rpress_recount_customer_payment_statusesFilters the payment statuses used when recalculating customer stats. Runs when the customer stats recalculation fetches…rpress_recount_earnings_argsFilters the query arguments used to fetch payments when recalculating store earnings. Runs on every step of the Recalcu…rpress_recount_earnings_total_argsFilters the arguments used to count payments for the store earnings recalculation progress. Runs the first time the pro…rpress_recount_fooditem_stats_argsFilters the arguments used to query sale logs when recounting menu item stats. Runs once per batch step while stats are…rpress_recount_fooditem_stats_total_argsFilters the arguments used to count sale logs when calculating recount progress. Runs the first time the progress perce…rpress_recount_store_earnings_totalFilters the total number of payments used for store earnings recount progress. Runs after the total is computed as the…rpress_recoverable_payment_statusesFilters the payment statuses from which a payment can be recovered. Used by RPRESS_Payment::is_recoverable. A payment i…rpress_registered_settingsFilters the complete array of registered settings. Runs at the end of rpress_get_registered_settings(), after the per-t…rpress_register_formFilters the HTML of the registration form returned by rpress_register_form(). The function captures the output of the r…rpress_register_redirectFilters the URL a customer is redirected to after registering. Runs in rpress_process_register_form after validation pa…rpress_remote_request_verify_sslFilters whether SSL certificates are verified on RestroPress remote HTTP requests. Applied before RestroPress calls res…rpress_remove_fee_urlFilters the URL used to remove a fee from the cart. Runs in RPRESS_Cart::remove_fee_url(). The URL points at the curren…rpress_remove_item_urlFilters the URL used to remove a line from the cart. Runs in RPRESS_Cart::remove_item_url(). The URL points at the curr…rpress_remove_payment_prefix_postfixFilters the order number after its prefix and postfix are removed. Runs at the end of rpress_remove_payment_prefix_post…rpress_reports_cache_ttlFilters how long report data is cached, in seconds. Runs each time the reports screen loads a cached data set. Results…rpress_reports_export_cardsFilters the export cards shown in the Export tab of the reports screen. Runs when the Export tab builds its cards. Each…rpress_reports_intelligence_tabsFilters the tabs shown on the reports screen. Runs when the reports screen builds its tab list. Keys are tab IDs and va…rpress_reports_tab_filesFilters the list of PHP files that provide the reports tabs. Runs once, when the reports file is loaded during the admi…rpress_report_column_{$column_name}Filters the output of a column in the customers report table. Runs for every cell rendered by the default column handle…rpress_report_customer_columnsFilters the columns of the customers list table. Applied when the admin Customers table or the customer reports table b…rpress_report_datesFilters the date values calculated for the selected report range. Runs at the end of rpress_get_report_dates(). The arr…rpress_report_date_optionsFilters the date range choices of the report date selector. Runs when the report graph controls build the range dropdow…rpress_report_viewsFilters the report views available in the legacy report type selector. Runs when the default report views are collected…rpress_require_billing_addressFilters whether billing address fields are required at checkout. Lets payment gateways and other extensions require bil…rpress_require_delivery_addressFilters whether the delivery address fields are required at checkout. Evaluated while building the list of required che…rpress_reset_add_queries_{$type}Filters the SQL queries run when resetting a custom item group. The dynamic part is the group name returned by rpress_r…rpress_reset_item_typeFilters the group a non-standard item belongs to during a data reset. Runs in the Reset Restaurant Data tool for every…rpress_reset_store_itemsFilters the list of items removed by the Reset Restaurant Data tool. Runs once the posts and customers to reset have be…rpress_reset_store_post_typesFilters the post types collected by the Reset Restaurant Data tool. Runs when the reset tool gathers the posts to remov…rpress_rpress_update_payment_meta_{$meta_key}Filters a payment email value before it is saved by RPRESS_Payment::update_meta. Applied in update_meta only when the m…rpress_sales_by_date_show_freeFilters whether free orders are included by the deprecated rpress_get_sales_by_date(). Applied in the deprecated rpress…rpress_sale_notificationFilters the body of the admin order notification email. Runs at the end of rpress_get_order_notification_body_content…rpress_sale_notification_template_tags_descriptionFilters the template tag help text of the deprecated sale notification tags function. Applied in the deprecated rpress_…rpress_sanitize_amountFilters the sanitized price amount before rpress_sanitize_amount returns it. Runs at the end of rpress_sanitize_amount…rpress_sanitize_amount_decimalsFilters the number of decimals used when sanitizing an amount. Runs in rpress_sanitize_amount with a default of 2. Rest…rpress_sanitize_keyFilters a key string after it has been sanitized for RestroPress settings. Runs at the end of rpress_sanitize_key, afte…rpress_search_users_argsFilters the get_users() arguments used by the admin user search. Runs in the search_users AJAX handler, available to us…rpress_send_back_to_checkoutFilters the URL used to send a customer back to the checkout. Runs in rpress_send_back_to_checkout() just before wp_saf…rpress_sepcial_instructionFilters the special instruction text read from a cart item. Applied when a cart item's special instruction is retrieved…rpress_service_context_delivery_addressFilters the delivery address stored in the service context. Runs in rpress_get_service_context() after the address is r…rpress_service_date_rawFilters the raw service date before it is used for store-open checks. Runs in rp_row_date(), which rpress_is_store_open…rpress_service_typeFilters the list of available service types. Returns an array of slug => label pairs. The built-in values are delivery…rpress_service_typesFilters the service type labels used by rpress_service_label(). Used when converting a service slug to its display labe…rpress_session_start_uri_blacklistFilters the request URIs for which sessions are never started. Applied in RPRESS_Session::get_blacklist(). The defaults…rpress_settings_emailsFilters the settings registered for the Emails tab. Runs while RestroPress builds its registered settings. The array is…rpress_settings_export_filenameFilters the file name of the exported settings JSON file. Runs when a settings export is downloaded. The default is rpr…rpress_settings_gatewaysFilters the settings registered for the Payment Gateways tab. Runs while RestroPress builds its registered settings. Th…rpress_settings_generalFilters the settings registered for the General tab. Runs while RestroPress builds its registered settings. The array i…rpress_settings_miscFilters the settings registered for the Misc tab. Runs while RestroPress builds its registered settings. The array is k…rpress_settings_sanitizeFilters every setting value during sanitization, after the type-specific filter. Runs for each submitted setting while…rpress_settings_sanitize_{$type}Filters a setting value during sanitization, per field type. Runs for each submitted setting while the settings form is…rpress_settings_sectionsFilters the complete array of settings sections for all tabs. Runs last in rpress_get_registered_settings_sections, aft…rpress_settings_sections_emailsFilters the list of sections shown in the Emails settings tab. Runs when the settings sections are first built, before…rpress_settings_sections_extensionsFilters the list of sections shown in the Extensions settings tab. Runs when the settings sections are first built, bef…rpress_settings_sections_gatewaysFilters the list of sections shown in the Payment Gateways settings tab. Runs when the settings sections are first buil…rpress_settings_sections_generalFilters the list of sections shown in the General settings tab. Runs when the settings sections are first built, before…rpress_settings_sections_licensesFilters the list of sections shown in the Licenses settings tab. Runs when the settings sections are built. The default…rpress_settings_sections_miscFilters the list of sections shown in the Misc settings tab. Runs when the settings sections are first built, before th…rpress_settings_sections_stylesFilters the list of sections shown in the Styles settings tab. Runs when the settings sections are first built, before…rpress_settings_sections_taxesFilters the list of sections shown in the Taxes settings tab. Runs when the settings sections are first built, before t…rpress_settings_section_privacyFilters the list of sections shown in the Privacy settings tab. Runs when the settings sections are built. The default…rpress_settings_section_sms_notificationFilters the list of sections for the SMS notification settings tab. Runs when the settings sections are built. The defa…rpress_settings_sms_notificationFilters the settings registered for the SMS notification tab. Runs while RestroPress builds its registered settings. Th…rpress_settings_stylesFilters the settings registered for the Styles tab. Runs while RestroPress builds its registered settings. The array is…rpress_settings_tabsFilters the top-level tabs shown on the RestroPress settings page. Runs in rpress_get_settings_tabs when the settings p…rpress_settings_taxesFilters the settings registered for the Taxes tab. Runs while RestroPress builds its registered settings. The array is…rpress_settings_{$tab}-{$section}_sanitizeFilters the posted settings of one tab section before they are merged and sanitized. Runs right after the tab-level san…rpress_settings_{$tab}_sanitizeFilters the posted settings of one tab before they are merged and sanitized. Runs while the settings form is saved, whe…rpress_set_fooditems_attributesFilters the attributes of the menu items shortcode. Runs after shortcode_atts() in RP_Shortcode_Fooditems::output(). Th…rpress_set_payment_transaction_idFilters the transaction ID before it is saved on a payment. Runs in rpress_set_payment_transaction_id() when both a pay…rpress_shop_countryFilters the shop base country code. Applied in rpress_get_shop_country(), which reads the base_country option and defau…rpress_shop_stateFilters the shop base state. Applied in rpress_get_shop_state(), which reads the base_state option and returns false wh…rpress_shop_statesFilters the list of states or provinces returned for a country. Applied at the end of rpress_get_states(). The function…rpress_shop_supports_buy_nowFilters whether the store supports buy now purchases. Runs in rpress_shop_supports_buy_now. The default is true only wh…rpress_should_anonymize_customerFilters whether a customer may be anonymized by a privacy erasure request. Runs in _rpress_anonymize_customer() after t…rpress_should_anonymize_paymentFilters whether a payment may be anonymized by a privacy erasure request. Runs in _rpress_anonymize_payment() after the…rpress_should_process_pendingFilters whether RPRESS_Payment::process_pending should reverse stats for a payment moved back to pending. The default i…rpress_should_process_refundFilters whether RPRESS_Payment::process_refund should adjust stats for a refunded payment. The default is true only whe…rpress_should_update_payment_statusFilters whether RPRESS_Payment::update_status should change the payment status. Applied after the new status was normal…rpress_should_validate_time_slotFilters whether the selected time slot is validated against the current time when an order is validated. Runs in the pr…rpress_show_added_to_cart_messagesFilters the 'added to cart' notice shown after a menu item is added. Runs in rpress_show_added_to_cart_messages() when…rpress_show_billing_fieldsFilters whether billing address fields are shown. Runs in rpress_show_billing_fields(). The default is the enable_billi…rpress_show_checkout_buttonFilters whether the checkout button is shown in the sidebar cart. Runs in the sidebar cart totals template. Return fals…rpress_show_dietary_labelsFilters whether dietary labels are displayed for a menu item. Runs at the start of rpress_get_dietary_labels_html(). Re…rpress_show_gatewaysFilters whether the gateway selector is shown at checkout. Runs in rpress_show_gateways. The default is true when more…rpress_show_oembed_purchase_linksFilters whether an oEmbed shows the menu item price and purchase link. Runs in rpress_add_oembed_price() for menu items…rpress_single_price_option_modeFilters whether a menu item is in single price option mode. Runs in RPRESS_Fooditem::is_single_price_mode() with the va…rpress_south_african_statesFilters the list of states returned for South Africa. Applied at the end of rpress_get_south_african_states_list(), whi…rpress_spain_statesFilters the list of states returned for Spain. Applied at the end of rpress_get_spain_states_list(), which rpress_get_s…rpress_special_instructionsFilters whether the special instructions field is shown in the menu item modal. Applied in the add-to-cart and edit-car…rpress_special_instruction_textFilters the label above the special instructions field in the menu item modal. Applied in the add-to-cart and edit-cart…rpress_start_sessionFilters whether a PHP session should be started for the current request. Applied in RPRESS_Session::should_start_sessio…rpress_stats_dateFilters a date after it has been converted to a timestamp. Applied at the end of RPRESS_Stats::convert_date() for both…rpress_stats_earnings_argsFilters the query arguments used to calculate earnings in RPRESS_Payment_Stats::get_earnings. The array is passed to ge…rpress_stats_predefined_datesFilters the predefined date periods accepted by the stats classes. Returned by RPRESS_Stats::get_predefined_dates() and…rpress_status_change_force_reloadFilters whether the order status change forces a full page reload. Runs in RP_AJAX::update_order_status() after the sta…rpress_store_closed_messageFilters the message shown when the store is closed for ordering. Runs in rpress_store_closed_message(). The default com…rpress_store_delivery_timings_slot_remainingFilters each order time slot before it is offered to the customer. Called once per slot when the slot list is normalize…rpress_store_hours_for_dateFilters the open and close window resolved for a date. Runs at the end of rpress_get_store_hours_for_date(). The value…rpress_store_timingsFilters the list of available order time slots for a service type and date. Applied to the slots produced by the store…rpress_straight_to_checkoutFilters whether customers are sent straight to checkout after adding an item to the cart. The default is read from the…rpress_straight_to_gateway_purchase_dataFilters the purchase data built for a straight-to-gateway purchase. Runs at the end of rpress_build_straight_to_gateway…rpress_string_is_imageFilters whether a filename or URL is treated as an image. The default is true for the extensions the helper recognises…rpress_success_page_redirectFilters the URL customers are redirected to after a successful order. Runs in rpress_send_to_success_page() just before…rpress_success_page_urlFilters the success page URL returned by the deprecated rpress_get_success_page_url(). Applied in the deprecated rpress…rpress_sysinfo_after_host_infoFilters the system information text after the host info section. Runs while the system information report on the Tools…rpress_sysinfo_after_php_configFilters the system information text after the PHP configuration section. Runs while the system information report on th…rpress_sysinfo_after_php_extFilters the system information text after the PHP extensions section. Runs while the system information report on the T…rpress_sysinfo_after_rpress_configFilters the system information text after the RestroPress configuration section. Runs while the system information repo…rpress_sysinfo_after_rpress_gatewaysFilters the system information text after the RestroPress gateways section. Runs while the system information report on…rpress_sysinfo_after_rpress_pagesFilters the system information text after the RestroPress pages section. Runs while the system information report on th…rpress_sysinfo_after_rpress_taxesFilters the system information text after the RestroPress taxes section. Runs while the system information report on th…rpress_sysinfo_after_rpress_templatesFilters the system information text after the RestroPress templates section. Runs while the system information report o…rpress_sysinfo_after_session_configFilters the system information text after the session config section. Runs while the system information report on the T…rpress_sysinfo_after_site_infoFilters the system information text after the site info section. Runs while the system information report on the Tools…rpress_sysinfo_after_user_browserFilters the system information text after the user browser section. Runs while the system information report on the Too…rpress_sysinfo_after_webserver_configFilters the system information text after the web server configuration section. Runs while the system information repor…rpress_sysinfo_after_wordpress_configFilters the system information text after the WordPress config section. Runs while the system information report on the…rpress_sysinfo_after_wordpress_ms_pluginsFilters the system information text after the network active plugins section. Runs while the system information report…rpress_sysinfo_after_wordpress_mu_pluginsFilters the system information text after the must-use plugins section. Runs while the system information report on the…rpress_sysinfo_after_wordpress_pluginsFilters the system information text after the WordPress plugins section. Runs while the system information report on th…rpress_sysinfo_after_wordpress_plugins_inactiveFilters the system information text after the WordPress plugins inactive section. Runs while the system information rep…rpress_taxed_amountFilters the tax amount calculated for a given amount. Runs at the end of rpress_calculate_tax() with the computed tax a…rpress_taxes_after_discountsFilters whether taxes are calculated after discounts, in the deprecated rpress_taxes_after_discounts(). Applied in the…rpress_taxes_on_pricesFilters whether taxes are shown on prices, in the deprecated rpress_taxes_on_prices(). Applied in the deprecated rpress…rpress_taxes_on_prices_on_checkoutFilters whether tax is shown on prices at checkout. Runs in rpress_prices_show_tax_on_checkout(). The default is true o…rpress_tax_nameFilters the tax label shown to customers. Runs in rpress_get_tax_name(). The default is the tax_name setting, or a tran…rpress_tax_rateFilters the tax rate used for calculations. Runs in rpress_get_tax_rate() after the tax_rate setting is converted from…rpress_templates_dirFilters the theme folder name that holds template overrides. Runs in rpress_get_theme_template_dir_name(). The default…rpress_template_pack_entitledFilters whether a Pro template pack is entitled to run. Applied in the pack selector for each registered pack that is f…rpress_template_pathsFilters the directories searched for RestroPress templates. Runs in rpress_get_theme_template_paths(). The value is an…rpress_test_purchase_from_addressFilters the sender email address used in the test order receipt. Runs in rpress_email_test_purchase_receipt after the F…rpress_thailand_statesFilters the list of states returned for Thailand. Applied at the end of rpress_get_thailand_states_list(), which rpress…rpress_timing_for_todayThe rpress_timing_for_today filter is applied to use get today's timing. It receives one parameter. apply_filters( 'rpr…rpress_timing_for_todayFilters whether store timings are built with today's rules applied. Used when generating store timings and service hour…rpress_tools_diagnostics_summaryFilters the rows of the Restaurant Support Summary on the Diagnostics tab. Runs when the Diagnostics tab builds its sup…rpress_tools_health_checksFilters the setup health checks shown on the Tools Health Check tab. Runs after the core checks (required pages, servic…rpress_tools_reset_stats_total_argsFilters the query arguments used to collect posts for a data reset. Runs right after rpress_reset_store_post_types. The…rpress_tools_tabsFilters the tabs shown on the RestroPress Tools page. Runs in rpress_get_tools_tabs after the core tabs have been added…rpress_total_earningsFilters the total earnings value returned by rpress_get_total_earnings(). Runs on the final value of rpress_get_total_e…rpress_translation_directoriesFilters the directories searched for RestroPress translation files. Applied in RestroPress::load_textdomain. The defaul…rpress_turkey_statesFilters the list of states returned for Turkey. Applied at the end of rpress_get_turkey_states_list(), which rpress_get…rpress_united_kingdom_statesFilters the list of states returned for the United Kingdom. Applied at the end of rpress_get_united_kingdom_states_list…rpress_update_discountFilters the discount meta before an existing discount is updated. Runs in RPRESS_Discount::update() after the meta arra…rpress_update_discount_meta_{$key}Filters a discount meta value before it is saved. Runs in RPRESS_Discount::update_meta() before update_post_meta(). The…rpress_update_optionFilters a value before rpress_update_option() saves it. Runs inside rpress_update_option() after the current settings a…rpress_update_payment_meta_{$meta_key}Filters a payment meta value before RPRESS_Payment::update_meta saves it, per meta key. Applied in update_meta just bef…rpress_update_payment_status_fieldsFilters the fields passed to wp_update_post when a payment status changes. Applied in RPRESS_Payment::update_status. Th…rpress_users_purchased_products_listFilters the list of menu items a user has ordered. Runs at the end of rpress_get_users_ordered_products() with the get_…rpress_users_purchased_products_paymentsFilters the maximum number of payments loaded for a user's ordered products. Runs in rpress_get_users_ordered_products(…rpress_user_account_verification_request_redirectFilters the redirect URL after a new verification email is requested. Runs in rpress_process_user_verification_request(…rpress_user_account_verified_redirectFilters the redirect URL after an account is successfully verified. Runs in rpress_process_user_account_verification()…rpress_user_can_view_receiptFilters whether the current visitor may view an order receipt. Runs in the receipt shortcode after rpress_can_view_rece…rpress_user_can_view_receipt_itemFilters whether a cart item is shown on the order receipt and tracking page. Applied to each cart item of the order whe…rpress_user_pending_verificationFilters whether a user is pending account verification. Runs in rpress_user_pending_verification() after reading the _r…rpress_user_registration_admin_email_headingFilters the heading of the new-user admin notification email. Runs in rpress_new_user_notification(). The default is th…rpress_user_registration_admin_email_messageFilters the body of the new-user admin notification email. Runs in rpress_new_user_notification(). The default message…rpress_user_registration_admin_email_subjectFilters the subject of the new-user admin notification email. Runs in rpress_new_user_notification(), which sends email…rpress_user_registration_email_headingFilters the heading of the welcome email sent to a new customer. Runs in rpress_new_user_notification(). The default is…rpress_user_registration_email_login_urlFilters the login URL used in the welcome email. Runs in rpress_new_user_notification(). The default is wp_login_url()…rpress_user_registration_email_messageFilters the full body of the welcome email sent to a new customer. Runs in rpress_new_user_notification() after the use…rpress_user_registration_email_passwordFilters the password line of the welcome email. Runs in rpress_new_user_notification() and is appended to the message…rpress_user_registration_email_subjectFilters the subject of the welcome email sent to a new customer. Runs in rpress_new_user_notification(). The default is…rpress_user_registration_email_usernameFilters the username line of the welcome email. Runs in rpress_new_user_notification() and sets the start of the email…rpress_user_verification_base_urlFilters the base URL used for account verification links. Runs in rpress_get_user_verification_page(). The default is t…rpress_user_verification_email_headingFilters the heading of the account verification email. Runs in rpress_send_user_verification_email() and sets the headi…rpress_user_verification_email_messageFilters the body of the account verification email. Runs in rpress_send_user_verification_email() after the default mes…rpress_user_verification_email_subjectFilters the subject line of the account verification email. Runs in rpress_send_user_verification_email() after the def…rpress_use_35_media_uiFilters whether the admin uses the WordPress 3.5+ media modal for settings upload fields. The value is localized to the…rpress_use_after_payment_actionsFilters whether the after-payment actions are deferred to a scheduled WP-Cron event. By default (true) rpress_schedule_…rpress_use_cart_cookieFilters whether the items-in-cart cookie is used. Applied in RPRESS_Session::use_cart_cookie(). The default is true unl…rpress_use_php_sessionsFilters whether RestroPress uses native PHP sessions. Applied at the end of RPRESS_Session::use_php_sessions() after au…rpress_use_skusFilters whether SKUs are enabled for menu items. The default comes from the Enable SKU Entry setting. The result is cas…rpress_use_taxesFilters whether taxes are enabled. Runs in rpress_use_taxes(), which is called throughout cart, checkout and payment co…rpress_us_statesFilters the list of states returned for United States. Applied at the end of rpress_get_states_list(), which rpress_get…rpress_valiate_card_format_pre_typeFilters the card number validity after the Luhn check and before card type matching. Runs in rpress_validate_card_numbe…rpress_validate_slotFilters the result of the service slot availability check. Runs in the check_service_slot AJAX handler after the rpress…rpress_validate_usernameFilters whether a username is valid. Runs in rpress_validate_username(). The default is true when sanitize_user( $usern…rpress_validate_user_verification_tokenFilters whether a user verification URL has a valid token. Runs at the end of rpress_validate_user_verification_token()…rpress_variable_default_price_idFilters the default variable price ID of a menu item. Runs in rpress_get_default_variable_price for menu items with var…rpress_vegan_optionsFilters the food type options shown in the menu item editor. Provides the radio options (value to label) for the Food T…rpress_verification_link_expired_textFilters the error message shown for an expired verification link. Runs in rpress_validate_user_verification_token() whe…rpress_verify_credit_cardsFilters whether credit card numbers are verified on checkout. The default is false when the only enabled gateway is Pay…rpress_view_customers_roleFilters the capability required to view customers and the RestroPress dashboard. Supplies the capability string passed…rpress_view_service_details_afterFires after the service fields in the edit panel of the order details screen. Called with apply_filters() at the end of…rpress_view_service_details_beforeFires before the service fields in the edit panel of the order details screen. Called with apply_filters() inside the S…rpress_view_users_roleFilters the capability required to search users in the AJAX user search. Used by the user_search AJAX handler, which re…rpress_{$currency}_currency_filter_afterFilters the price string when the currency symbol is placed after the amount. Runs in rpress_currency_filter when the c…rpress_{$currency}_currency_filter_beforeFilters the price string when the currency symbol is placed before the amount. Runs in rpress_currency_filter when the…rpress_{$type}_classFilters the CSS classes of a cart message box. Runs in rpress_display_cart_messages() for each message stored in the se…rp_added_to_cartFilters the notice text shown after an item is added to the cart. Runs in RP_Frontend_Scripts::load_scripts() and is lo…rp_addon_categoryThe rp_addon_category filter is applied to the get the addon category of child add on by using get term function in Res…rp_addon_categoryFilters the get_terms() arguments used to load add-on items inside an add-on group. Applied wherever child terms of an…rp_add_to_cartFilters the Add To Cart button text used by the frontend script. Runs in RP_Frontend_Scripts::load_scripts() and the re…rp_ajax_get_endpointFilters the URL of the RestroPress frontend AJAX endpoint. Runs in RP_AJAX::get_endpoint(). The default is the home URL…rp_api_auth_error_messageFilters the error message returned when REST API authentication fails. Used by the check_application_password_auth perm…rp_api_not_enabled_error_messageFilters the error message returned when the token endpoint is not enabled. Used in the REST auth controller permission…rp_api_not_valid_error_messageFilters the error message returned when a REST API token fails validation. Used in the JWT verifier for several failure…rp_api_token_generate_dataFilters the claims array used to build a REST API JWT token. Runs when a token is generated, either by the token endpoi…rp_api_token_generate_error_messageFilters error messages returned while generating a REST API token. Used in the REST auth controller for the message ret…rp_api_token_is_null_error_messageFilters the error message returned when the API token is missing or empty. Used in the JWT verifier when no token was f…rp_api_token_not_found_error_messageFilters the error message returned when the token or API key is missing from the request. Used in the JWT verifier when…rp_api_token_not_string_error_messageFilters the error message returned when the supplied API token is not a string. Used in the JWT verifier when a token i…rp_confirm_order_textFilters the label of the sidebar cart checkout button. Runs in the sidebar cart totals template. The default is the tra…rp_default_fooditems_nameFilters the default singular and plural labels for menu items. Returns an array with singular and plural keys, 'Menu It…rp_food_addon_column_extra_htmlAllows extra output next to the price of an add-on item in the menu item popup. Called inside the quantity/price column…rp_food_item_list_extra_classesFilters the extra CSS classes added to an add-on row in the menu item popup. Runs for each add-on item inside an add-on…rp_get_order_statusFilters the order status returned for an order. Applied at the end of rpress_get_order_status() after the stored _order…rp_quantity_updated_in_cartFilters the notice text shown when an item's quantity is updated in the cart. Runs in RP_Frontend_Scripts::load_scripts…rp_rest_api_{$post_type}_schemaFilters the extra schema properties added to a menu item or order in the REST API. Fired by the foods controller (post…rp_store_time_intervalFilters the interval, in minutes, between order time slots. Used when the list of store timings is generated. The defau…rp_update_cartFilters the Update Cart button text used by the frontend script. Runs in RP_Frontend_Scripts::load_scripts() and is loc…rp_variable_price_headingFilters the heading shown above the price options in the menu item popup. Used when the menu item popup renders a menu…time_based_menu_rpress_categoriesFilters the list of menu categories shown in the category navigation. Applied to the categories returned by rpress_get_…time_based_menu_rpress_foodsFilters the food category slugs rendered in the menu item list. Runs in the menu list templates after the categories ar…widget_titleFilters the widget title for RestroPress widgets. This is the standard WordPress widget_title filter. RestroPress appli…wpml_current_languageCalls WPML's filter to get the active language code. RestroPress applies this WPML filter with a null value to learn th…wpml_element_language_codeCalls WPML's filter to get the language code of an order. RestroPress applies this WPML filter in rpress_wpml_get_payme…wpml_object_idCalls WPML's filter to get the translated ID of a page. RestroPress applies this WPML filter to map its configured page…wpml_translate_single_stringCalls WPML String Translation to translate a RestroPress setting value. RestroPress applies this WPML filter in rpress_…wp_session_expirationFilters the session lifetime, in seconds, of the bundled WP_Session library. Applied when a session is created or its e…wp_session_expiration_variantFilters the update window, in seconds, of a session before its data is queued for deletion. Applied in WP_Session::set_…{$shortcode}_shortcode_tagFilters the tag under which a RestroPress shortcode is registered. Runs once per shortcode while RP_Shortcodes::init()…
Was this page helpful?
