WCPOS 2.0.4 has 41 actions and 280 filters, read directly from its source code on Nov 18, 2026. The list updates automatically when a new version is released.
How to use these hooks
Actions let you run your own code at a specific moment. Filters let you change a value before the plugin uses it. Put your code in a child theme's functions.php or a code-snippets plugin, never in the plugin's own files, because updates overwrite them.
// Run your own code when WCPOS fires an action
add_action( 'wcpos_fiscal_record_failed', function( $type, $order, $fields ) {
// Your code runs here.
}, 10, 3 );
// Change a value WCPOS is about to use
add_filter( 'wcpos_receipt_data', function( $data, $order, $mode ) {
// Change $data here.
return $data;
}, 10, 3 );Parts of a name in {braces} are filled in at runtime (for example a post type or field ID). Choose Example on any hook for a ready-to-edit snippet.
All hooks
-
/** * Filters the canonical receipt data before it is rendered or snapshotted. */ apply_filters( 'wcpos_receipt_data', $data, $order, $mode ); -
/** * Fires when a write-once fiscal record could not be inserted. */ do_action( 'wcpos_fiscal_record_failed', $type, $order, $fields ); -
/** * List of script handles to exclude from the payment template. */ apply_filters( 'wcpos_payment_template_dequeue_script_handles', Settings::instance()->dequeue_script_handles() ); -
/** * List of style handles to exclude from the payment template. */ apply_filters( 'wcpos_payment_template_dequeue_style_handles', Settings::instance()->dequeue_style_handles() ); -
/** * Filters the PostHog host URL used for analytics. */ apply_filters( 'wcpos_posthog_host', $host ); -
/** * Filters the PostHog project token used for analytics. */ apply_filters( 'wcpos_posthog_token', $token ); -
/** * Extension filter for the register list; not an authorization seam. * Store_Reach narrows the result. */ apply_filters( 'wcpos_registers_list_args', $args, $request ); -
/** * Filter the list of namespaces used in the WCPOS REST API. */ apply_filters( 'wcpos_rest_namespaces', self::ROUTE_NAMESPACES ); -
/** * Filter whether to restore stock when an order is deleted via the POS API. */ apply_filters( 'wcpos_restore_stock_on_delete', $setting, $order_id ); -
/** * Filter a directly addressed session or movement row on the write routes; * nothing hooks it today. Read routes are checked by Store_Reach. */ apply_filters( 'wcpos_session_row', $existing, $request ); -
/** * Get the login URL, allow other plugins to customise the URL. eg: WPS Hide * Login. */ apply_filters( 'login_url', site_url( '/wp-login.php' ), 'logout', false ); -
/** * Filters a Settings Section's read view. */ apply_filters( "wcpos_{$this->id()}_settings", $settings ); -
/** * Filters whether a specific admin email is enabled for a POS order. */ apply_filters( 'wcpos_admin_email_enabled', $is_enabled, $email_id, $order, $email_class ); -
/** * Filters the POS admin notices. */ apply_filters( 'wcpos_admin_notices', self::$notices ); -
/** * Filters the screen handlers for WCPOS admin screens. */ apply_filters( 'wcpos_admin_screen_handlers', $this->screen_handlers, $current_screen ); -
/** * Filters the property set attached to the PostHog `site` group. */ apply_filters( 'wcpos_analytics_group_properties', $properties ); -
/** * Filters whether the site is treated as running multi-currency. */ apply_filters( 'wcpos_analytics_multi_currency', $detected ); -
/** * Filters the feature-adoption snapshot sent with the landing view. */ apply_filters( 'wcpos_analytics_settings_summary', $summary ); -
/** * Filter the cloud-print assignments for an order. Pro uses this to substitute * per-outlet assignments based on the order's store. */ apply_filters( 'wcpos_cloud_print_assignments', $assignments, $order ); -
/** * Filters the consent-prompt copy overrides. */ apply_filters( 'wcpos_consent_copy', array() ); -
/** * Filters the Content-Security-Policy header value for POS pages. */ apply_filters( 'wcpos_content_security_policy', '' ); -
/** * Filters whether a specific customer email is enabled for a POS order. */ apply_filters( 'wcpos_customer_email_enabled', $is_enabled, $email_id, $order, $email_class ); -
/** * Filters whether the POS is in development mode. */ apply_filters( 'wcpos_development_mode', ( \defined( 'WCPOS_DEVELOPMENT' ) && WCPOS_DEVELOPMENT ) || ( isset( $_ENV['DEVELOPMENT'] ) && wp_validate_boolean( sanitize_text_field( wp_unslash( $_ENV['DEVELOPMENT'] ) ) ) ) ); -
/** * Filters the URL used to fetch the extensions catalog. */ apply_filters( 'wcpos_extensions_catalog_url', self::CATALOG_URL ); -
/** * Enrich the numbered, label-free document before storage. */ apply_filters( 'wcpos_fiscal_snapshot_enrich', $snapshot, $order_id ); -
/** * Filters the font pack sources so a site can add a pack (for example a CJK * face hosted elsewhere) or replace where a pack is fetched from. */ apply_filters( 'wcpos_font_pack_sources', self::PACKS ); -
/** * Filters the enabled font packs so a site can drop one it does not need. * Packs must have a source (see `wcpos_font_pack_sources`). */ apply_filters( 'wcpos_font_packs', array_keys( self::sources() ) ); -
/** * Filter the bundled gallery template catalogue. */ apply_filters( 'wcpos_gallery_templates', self::catalogue() ); -
/** * Filters whether POS Only products are excluded from a product query. */ apply_filters( 'wcpos_hide_pos_only_products', $hide, $query ); -
/** * Filters whether this request maintains the translation files (version checks * and downloads) or only loads an existing one. */ apply_filters( 'wcpos_i18n_maintain', self::is_maintenance_request() ); -
/** * Filters the javascript variables passed to the POS. */ apply_filters( 'wcpos_inline_vars', $vars ); -
/** * Let the user modify the refresh token data before the sign. */ apply_filters( 'wcpos_jwt_refresh_token_before_sign', $token, $user ); -
/** * Filters the feature flags bootstrapped into the landing page. */ apply_filters( 'wcpos_landing_bootstrap_flags', $flags, $distinct_id ); -
/** * Filters the license settings. */ apply_filters( 'wcpos_license_settings', array() ); -
/** * Filters the template path. */ apply_filters( 'wcpos_locate_template', $path, $template ); -
/** * Filter the default WooCommerce template path. */ apply_filters( 'wcpos_locate_woocommerce_template', $template, $template_name, $args ); -
/** * Filter the detected log handler type. */ apply_filters( 'wcpos_log_handler_type', null ); -
/** * Filters whether nested named locks are trusted on this database server. */ apply_filters( 'wcpos_order_lock_supports_multiple_locks', $supported, $info ); -
/** * Filters the order IDs eligible for the custom pull lane. */ apply_filters( 'wcpos_order_pull_ids', $ids, $request ); -
/** * Fires once per request when the POS order-event services exist: eagerly on * POS, admin, REST, cron and CLI requests (from this plugin's `init` callback * at priority 10), and on a storefront request the moment the first order is * about to be written. */ do_action( 'wcpos_order_services_ready' ); -
/** * Filters the terminals available for a payment gateway. */ apply_filters( 'wcpos_payment_gateway_readers', null, $gateway_id, $refresh ); -
/** * Filters the payment gateways settings. */ apply_filters( 'wcpos_payment_gateways_settings', $response ); -
/** * Filters the POS payment method capture mode. */ apply_filters( 'wcpos_payment_method_capture_mode', $mode, $gateway ); -
/** * Filters the ordered capture modes allowed for a POS payment method. */ apply_filters( 'wcpos_payment_method_capture_modes', $mode_keys, $gateway ); -
/** * Filters the POS payment method's declared host components. */ apply_filters( 'wcpos_payment_method_fields', null, $gateway ); -
/** * Filters the POS payment method kind. */ apply_filters( 'wcpos_payment_method_kind', $kind, $gateway ); -
/** * Fires after a new payment row is recorded and the order is saved. */ do_action( 'wcpos_payment_recorded', $order, $row ); -
/** * Fires after a new payment row is saved as refused. */ do_action( 'wcpos_payment_refused', $order, $row ); -
/** * Filters the catalog visibility forced for a POS Only product. */ apply_filters( 'wcpos_pos_only_catalog_visibility', 'hidden', $product ); -
/** * Filters the settings before they are saved. */ apply_filters( "wcpos_pre_save_{$this->id()}_settings", $settings, $this->id() ); -
/** * Filters the TrueType font used to rasterize receipts for cloud printers. */ apply_filters( 'wcpos_receipt_raster_font', $bundled ); -
/** * Extension filter for the record list; not an authorization seam. Store_Reach * narrows the result below. */ apply_filters( 'wcpos_records_list_args', $args, $request ); -
/** * Fires when the Section Registry is built, letting Pro and extensions * register their own Settings Sections. */ do_action( 'wcpos_register_settings_sections', $this->registry ); -
/** * Filter admin fields; Pro may authorize store reassignment. */ apply_filters( 'wcpos_register_update_fields', $fields, $row, $request ); -
/** * Filter initial registration fields; Pro may set store_id. */ apply_filters( 'wcpos_register_upsert_fields', $fields, $request ); -
/** * Filters a server-built report document before it is validated. */ apply_filters( 'wcpos_report_data', $data, $key, $scope ); -
/** * Filters the registry of POS reports. */ apply_filters( 'wcpos_reports', $reports ); -
/** * Filters the request lane. Hosts and tests can force one; the default is * {@see Request_Lane::detect()}. */ apply_filters( 'wcpos_request_lane', self::detect() ); -
/** * Filter the list of controller classes used in the WCPOS REST API. */ apply_filters( 'wcpos_rest_api_controllers', self::core_v1_map() ); -
/** * Filter the wcpos/v2 service map derived from v1 minus FROZEN_DATA_KEYS. */ apply_filters( 'wcpos_rest_api_v2_controllers', $map ); -
/** * Filter cashier data for REST API response. */ apply_filters( 'wcpos_rest_prepare_cashier', $data, $user, $request ); -
/** * Filters the public site discovery data. */ apply_filters( 'wcpos_rest_site_info', $data ); -
/** * Fires once per new completion entry, after it is persisted and while the * order lock is held. The fiscal sale writer's trigger. */ do_action( 'wcpos_sale_completed', $fresh, $n ); -
/** * Fires after settings for a specific section are successfully saved. */ do_action( "wcpos_saved_{$this->id()}_settings", $saved_settings, $this->id() ); -
/** * Filters the meta keys the canonical order revision leaves out, on the order * and on every line. */ apply_filters( 'wcpos_sync_order_revision_excluded_meta_keys', array() ); -
/** * Filters the top-level order fields the canonical revision hashes. */ apply_filters( 'wcpos_sync_order_revision_fields', $fields ); -
/** * Filters the hidden meta keys the canonical order revision hashes. */ apply_filters( 'wcpos_sync_order_revision_meta_keys', self::REVISION_META_KEYS ); -
/** * Allows explicit lab inspection without bypassing WooCommerce/WP REST * response preparation. This filter is additive and must not remove * WooCommerce REST fields. */ apply_filters( 'wcpos_sync_serialized_order', $payload, $order, $request ); -
/** * Public filters can return values outside the documented contract. */ apply_filters( 'wcpos_sync_serialized_product', $payload, $object, $request ); -
/** * Filters the preview base URL so a site can use its own host. */ apply_filters( 'wcpos_template_gallery_preview_base_url', $url ); -
/** * Filters the updates server profile endpoint URL. */ apply_filters( 'wcpos_updates_server_profile_url', self::UPDATES_SERVER_URL . '/v1/profile' ); -
/** * The web-bundle ref served from jsDelivr (or a full base URL). */ apply_filters( 'wcpos_web_bundle_ref', $explicit_bundle_ref ?? $default_bundle_ref ); -
/** * Filters WP Overnight PDF Invoices & Packing Slips template availability. */ apply_filters( 'wcpos_wp_overnight_pdf_templates_enabled', $available ); -
/** * This filter is documented in * woocommerce/includes/abstracts/abstract-wc-payment-gateway.php */ apply_filters( 'woocommerce_get_return_url', $received_url, $order ); -
/** * This filter is documented in WooCommerce's * WC_REST_Controller::check_batch_limit() */ apply_filters( 'woocommerce_rest_batch_items_limit', 100, 'orders' ); -
apply_filters_deprecated( 'woocommerce_pos_receipt_data', array( $filtered, $order, 'preview' ), '2.0.0', 'wcpos_receipt_data' ); -
do_action( 'wcpos_receipt_head' ); -
apply_filters( 'wcpos_register_repository', new Option_Register_Repository() ); -
apply_filters( 'wcpos_wp_overnight_pdf_document', null, $document_type, $order ); -
do_action_deprecated( 'woocommerce_pos_fiscal_record_failed', array( $type, $order, $fields ), '2.0.0', 'wcpos_fiscal_record_failed' ); -
apply_filters_deprecated( 'woocommerce_pos_register_repository', array( $repository ), '2.0.0', 'wcpos_register_repository' ); -
apply_filters_deprecated( 'woocommerce_pos_wp_overnight_pdf_document', array( $document, $document_type, $order ), '2.0.0', 'wcpos_wp_overnight_pdf_document' ); -
do_action( 'litespeed_control_set_nocache', 'wcpos rest response' ); -
do_action( 'wcpos_head' ); -
apply_filters( 'wcpos_meta_data_error_threshold', 500 ); -
apply_filters( 'wcpos_payment_gateway_bootstrap', $default, $this->gateway->id, $context, $request ); -
do_action( 'wcpos_refund_allocated', $order, $row, $refund, Money::format( $saved ) ); -
apply_filters( 'wcpos_rest_prepare_store', $data, $store, $request ); -
apply_filters( 'wcpos_sync_revision_excluded_fields', array( 'related_ids', '_links', 'links' ) ); -
apply_filters_deprecated( 'woocommerce_pos_meta_data_error_threshold', array( $error_threshold ), '2.0.0', 'wcpos_meta_data_error_threshold' ); -
apply_filters_deprecated( 'woocommerce_pos_payment_template_dequeue_script_handles', array( $script_exclude_list ), '2.0.0', 'wcpos_payment_template_dequeue_script_handles' ); -
apply_filters_deprecated( 'woocommerce_pos_payment_template_dequeue_style_handles', array( $style_exclude_list ), '2.0.0', 'wcpos_payment_template_dequeue_style_handles' ); -
apply_filters_deprecated( 'woocommerce_pos_posthog_host', array( $filtered ), '2.0.0', 'wcpos_posthog_host' ); -
apply_filters_deprecated( 'woocommerce_pos_posthog_token', array( $filtered ), '2.0.0', 'wcpos_posthog_token' ); -
do_action_deprecated( 'woocommerce_pos_refund_allocated', array( $order, $row, $refund, Money::format( $saved ) ), '2.0.0', 'wcpos_refund_allocated' ); -
apply_filters_deprecated( 'woocommerce_pos_registers_list_args', array( $filtered, $request ), '2.0.0', 'wcpos_registers_list_args' ); -
apply_filters_deprecated( 'woocommerce_pos_rest_namespaces', array( $namespaces ), '2.0.0', 'wcpos_rest_namespaces' ); -
apply_filters_deprecated( 'woocommerce_pos_rest_prepare_store', array( $filtered, $store, $request ), '2.0.0', 'wcpos_rest_prepare_store' ); -
apply_filters_deprecated( 'woocommerce_pos_restore_stock_on_delete', array( $restore_stock, $order_id ), '2.0.0', 'wcpos_restore_stock_on_delete' ); -
apply_filters_deprecated( 'woocommerce_pos_session_row', array( $session, $request ), '2.0.0', 'wcpos_session_row' ); -
apply_filters_deprecated( 'woocommerce_pos_sync_revision_excluded_fields', array( $excluded ), '2.0.0', 'wcpos_sync_revision_excluded_fields' ); -
apply_filters( 'rest_allowed_cors_headers', self::ALLOW_HEADERS_BASE, $request ); -
apply_filters( 'rest_exposed_cors_headers', self::EXPOSE_HEADERS, $request ); -
apply_filters( 'user_has_cap', $user->allcaps, array( $cap ), array( $cap, $user->ID ), $user ); -
apply_filters( 'wcpos_access_settings', $role_caps ); -
apply_filters( 'wcpos_active_receipt_template', null ); -
apply_filters( 'wcpos_admin_emails', array( 'cancelled_order', 'failed_order', ) ); -
do_action( 'wcpos_admin_settings_init', $this ); -
do_action( 'wcpos_after_template_render', $this->order_id, $order ); -
apply_filters( 'wcpos_auth_redirect_origin_allowed', $allowed, $origin, $url ); -
do_action( 'wcpos_auth_template_redirect' ); -
apply_filters( 'wcpos_authenticate_user', $user, $username ); -
do_action( 'wcpos_before_pay' ); -
do_action( 'wcpos_before_template_render', $this->order_id, $order ); -
apply_filters( 'wcpos_card_icon', '' ); -
apply_filters( 'wcpos_cash_icon', '' ); -
apply_filters( 'wcpos_cashier_accessible_stores', $stores, $user ); -
apply_filters( 'wcpos_cashier_data', $data, $user, $include_stores ); -
apply_filters( 'wcpos_change_log_compaction_window_hours', 24 ); -
apply_filters( 'wcpos_change_log_purge_batch_size', 500 ); -
apply_filters( 'wcpos_change_log_tombstone_retention_days', 90 ); -
apply_filters( 'wcpos_cloud_print_relay_enabled', true ); -
apply_filters( 'wcpos_cloud_print_relay_url', self::RELAY_URL ); -
apply_filters( 'wcpos_cloud_print_store_options', array() ); -
apply_filters( 'wcpos_cloud_printer_default_language', 'star-prnt', $printer ); -
apply_filters( 'wcpos_customer_emails', array( 'customer_failed_order', 'customer_on_hold_order', 'customer_processing_order', 'customer_completed_order', 'customer_refunded_order', ) ); -
apply_filters( 'wcpos_default_product_visibility', '', $post ); -
apply_filters( 'wcpos_error_reporting_enabled', $enabled, $consent_allowed ); -
apply_filters( 'wcpos_excluded_custom_barcode_fields', $excluded_fields ); -
do_action( 'wcpos_frontend_template_redirect' ); -
apply_filters( 'wcpos_get_store', $store, $the_store, $args ); -
apply_filters( 'wcpos_get_stores', array( $store ), $args ); -
apply_filters( 'wcpos_integrity_scan_cache_ttl', 120 ); -
do_action( 'wcpos_invalidate', $object_type, $object_id ); -
apply_filters( 'wcpos_is_pro_active', \defined( 'WCPOS\WooCommercePOSPro\VERSION' ) ); -
apply_filters( 'wcpos_item_is_on_sale', $is_on_sale, $product, $item, $pos_data ); -
apply_filters( 'wcpos_jwt_access_token_before_sign', $token, $user ); -
apply_filters( 'wcpos_jwt_access_token_expire', $issued_at + ( HOUR_IN_SECONDS / 2 ), $issued_at ); -
apply_filters( 'wcpos_jwt_refresh_token_expire', $issued_at + ( DAY_IN_SECONDS * 30 ), $issued_at ); -
apply_filters( 'wcpos_logging', true, $message ); -
apply_filters( 'wcpos_meta_data_log_top_keys', false, $object, $count ); -
apply_filters( 'wcpos_meta_data_warning_threshold', 50 ); -
apply_filters( 'wcpos_online_only_product_visibility_settings', $settings['online_only'], $scope ); -
apply_filters( 'wcpos_online_only_variations_visibility_settings', $settings['online_only'], $scope ); -
apply_filters( 'wcpos_order_store_reassignment_allowed', true, (string) $reassignment['_pos_store'], $id ); -
apply_filters( 'wcpos_payment_gateway_pos_type', $default, $this->gateway, $request ); -
apply_filters( 'wcpos_payment_gateway_provider', $default, $this->gateway, $request ); -
apply_filters( 'wcpos_payment_gateway_provider_data', $default, $this->gateway, $request ); -
apply_filters( 'wcpos_payment_gateway_supports_automatic_refunds', $default, $this->gateway, $request ); -
apply_filters( 'wcpos_payment_gateway_supports_checkout', $default, $this->gateway, $request ); -
apply_filters( 'wcpos_payment_gateway_supports_provider_refunds', $default, $this->gateway, $request ); -
apply_filters( 'wcpos_payment_tip_fee_taxable', false, $order, $row ); -
do_action( 'wcpos_payment_voided', $order, $row, $applied, $reason ); -
apply_filters( 'wcpos_payments_sweep_batch_size', 50 ); -
apply_filters( 'wcpos_payments_sweep_threshold', 5 * MINUTE_IN_SECONDS ); -
apply_filters( 'wcpos_pos_only_product_visibility_settings', $settings['pos_only'], $scope ); -
apply_filters( 'wcpos_pos_only_variations_visibility_settings', $settings['pos_only'], $scope ); -
do_action( 'wcpos_print_job_created', (int) $id, (string) $args['printer_id'] ); -
apply_filters( 'wcpos_print_job_failed_retention_days', 30 ); -
apply_filters( 'wcpos_print_job_retention_days', 7 ); -
apply_filters( 'wcpos_print_receipt_path', wcpos_locate_template( $file_name ) ); -
apply_filters( 'wcpos_product_visibility_settings', $settings['products'][ $scope ], $scope ); -
apply_filters( 'wcpos_protected_account_capabilities', array( 'manage_options', 'manage_woocommerce', 'edit_users', 'edit_posts' ) ); -
apply_filters( 'wcpos_receipt_pdf_data', $receipt_data, $order ); -
do_action( 'wcpos_register_pos_admin', array( 'toplevel' => $this->toplevel_screen_id, 'settings' => $this->settings_screen_id, ) ); -
apply_filters( 'wcpos_response_size_error_threshold', 500000 ); -
apply_filters( 'wcpos_response_size_warning_threshold', 100000 ); -
apply_filters( 'wcpos_search_fields', $declared, $collection ); -
apply_filters( 'wcpos_session_variance_threshold', $threshold, $session ); -
apply_filters( 'wcpos_sessions_list_args', $args, $request ); -
apply_filters( 'wcpos_single_product_admin_ajax_class', Single_Product::class ); -
apply_filters( 'wcpos_stock_validation_exempt_statuses', array( 'pos-open', 'pos-partial', 'pending', 'auto-draft', 'checkout-draft', 'draft', 'cancelled', 'refunded', 'failed', 'trash' ) ); -
apply_filters( 'wcpos_storefront_receipt_my_account_button', $default_enabled, $order ); -
apply_filters( 'wcpos_storefront_receipt_order_statuses', array( 'processing', 'completed', 'refunded' ), $order ); -
apply_filters( 'wcpos_storefront_receipt_template', $this->get_custom_template( ! empty( $receipt_data['fiscal']['is_closure_document'] ) ? 'closure' : 'receipt' ), $order ); -
apply_filters( 'wcpos_sync_mutation_create_retention_days', self::DEFAULT_CREATE_RETENTION_DAYS ); -
apply_filters( 'wcpos_sync_mutation_failure_retention_days', self::DEFAULT_FAILURE_RETENTION_DAYS ); -
apply_filters( 'wcpos_sync_mutation_settled_retention_days', self::DEFAULT_SETTLED_RETENTION_DAYS ); -
apply_filters( 'wcpos_sync_order_pull_payloads', array_column( $documents, 'payload' ), 'orders', $request ); -
apply_filters( 'wcpos_sync_proxy_response', $response->get_data(), $resource, $request ); -
apply_filters( 'wcpos_sync_record_lock_timeout', 5 ); -
apply_filters( 'wcpos_sync_reservation_ttl', 900 ); -
apply_filters( 'wcpos_sync_resolve_barcode_matches', $matches, $code ); -
apply_filters( 'wcpos_sync_variation_revision_fields', $fields ); -
apply_filters( 'wcpos_uninstall_pro_installed', $installed ); -
apply_filters( 'wcpos_variations_visibility_settings', $settings['variations'][ $scope ], $scope ); -
do_action( 'woocommerce_after_resend_order_email', $order, 'customer_invoice' ); -
do_action( 'woocommerce_before_resend_order_emails', $order, 'customer_invoice' ); -
woocommerce_order_details_after_customer_details
action Used by 25 plugins → Copy link Customise this hookdo_action( 'woocommerce_order_details_after_customer_details', $this->order ); -
apply_filters( 'woocommerce_pay_order_button_text', __( 'Pay for order', 'woocommerce-pos' ) ); -
woocommerce_payment_complete_order_status
filter Used by 23 plugins → Copy link Customise this hookapply_filters( 'woocommerce_payment_complete_order_status', 'processing', $order->get_id(), $order ); -
apply_filters_deprecated( "woocommerce_pos_{$this->id()}_settings", array( $settings ), '2.0.0', "wcpos_{$this->id()}_settings" ); -
apply_filters_deprecated( 'woocommerce_pos_access_settings', array( $filtered ), '2.0.0', 'wcpos_access_settings' ); -
apply_filters_deprecated( 'woocommerce_pos_active_receipt_template', array( $template ), '2.0.0', 'wcpos_active_receipt_template' ); -
apply_filters_deprecated( 'woocommerce_pos_admin_email_enabled', array( $filtered, $email_id, $order, $email_class ), '2.0.0', 'wcpos_admin_email_enabled' ); -
apply_filters_deprecated( 'woocommerce_pos_admin_emails', array( $admin_emails ), '2.0.0', 'wcpos_admin_emails' ); -
apply_filters_deprecated( 'woocommerce_pos_admin_notices', array( $notices ), '2.0.0', 'wcpos_admin_notices' ); -
apply_filters_deprecated( 'woocommerce_pos_admin_screen_handlers', array( $handlers, $current_screen ), '2.0.0', 'wcpos_admin_screen_handlers' ); -
do_action_deprecated( 'woocommerce_pos_admin_settings_init', array( $this ), '2.0.0', 'wcpos_admin_settings_init' ); -
do_action_deprecated( 'woocommerce_pos_after_template_render', array( $this->order_id, $order ), '2.0.0', 'wcpos_after_template_render' ); -
apply_filters_deprecated( 'woocommerce_pos_analytics_group_properties', array( $filtered ), '2.0.0', 'wcpos_analytics_group_properties' ); -
apply_filters_deprecated( 'woocommerce_pos_analytics_multi_currency', array( $filtered ), '2.0.0', 'wcpos_analytics_multi_currency' ); -
apply_filters_deprecated( 'woocommerce_pos_analytics_settings_summary', array( $filtered ), '2.0.0', 'wcpos_analytics_settings_summary' ); -
apply_filters_deprecated( 'woocommerce_pos_auth_redirect_origin_allowed', array( $filtered, $origin, $url ), '2.0.0', 'wcpos_auth_redirect_origin_allowed' ); -
do_action_deprecated( 'woocommerce_pos_auth_template_redirect', array(), '2.0.0', 'wcpos_auth_template_redirect' ); -
apply_filters_deprecated( 'woocommerce_pos_authenticate_user', array( $filtered, $username ), '2.0.0', 'wcpos_authenticate_user' ); -
do_action_deprecated( 'woocommerce_pos_before_pay', array(), '2.0.0', 'wcpos_before_pay' ); -
do_action_deprecated( 'woocommerce_pos_before_template_render', array( $this->order_id, $order ), '2.0.0', 'wcpos_before_template_render' ); -
apply_filters_deprecated( 'woocommerce_pos_card_icon', array( $this->icon ), '2.0.0', 'wcpos_card_icon' ); -
apply_filters_deprecated( 'woocommerce_pos_cash_icon', array( $this->icon ), '2.0.0', 'wcpos_cash_icon' ); -
apply_filters_deprecated( 'woocommerce_pos_cashier_accessible_stores', array( $filtered, $user ), '2.0.0', 'wcpos_cashier_accessible_stores' ); -
apply_filters_deprecated( 'woocommerce_pos_cashier_data', array( $filtered, $user, $include_stores ), '2.0.0', 'wcpos_cashier_data' ); -
apply_filters_deprecated( 'woocommerce_pos_change_log_compaction_window_hours', array( $filtered ), '2.0.0', 'wcpos_change_log_compaction_window_hours' ); -
apply_filters_deprecated( 'woocommerce_pos_change_log_purge_batch_size', array( $filtered ), '2.0.0', 'wcpos_change_log_purge_batch_size' ); -
apply_filters_deprecated( 'woocommerce_pos_change_log_tombstone_retention_days', array( $tombstone_days ), '2.0.0', 'wcpos_change_log_tombstone_retention_days' ); -
apply_filters_deprecated( 'woocommerce_pos_closures_list_args', array( $answer, $request ), '2.0.0', 'wcpos_closures_list_args' ); -
apply_filters_deprecated( 'woocommerce_pos_cloud_print_assignments', array( $assignments, $order ), '2.0.0', 'wcpos_cloud_print_assignments' ); -
apply_filters_deprecated( 'woocommerce_pos_cloud_print_relay_enabled', array( $filtered ), '2.0.0', 'wcpos_cloud_print_relay_enabled' ); -
apply_filters_deprecated( 'woocommerce_pos_cloud_print_relay_url', array( $filtered ), '2.0.0', 'wcpos_cloud_print_relay_url' ); -
apply_filters_deprecated( 'woocommerce_pos_cloud_print_store_options', array( $store_options ), '2.0.0', 'wcpos_cloud_print_store_options' ); -
apply_filters_deprecated( 'woocommerce_pos_cloud_printer_default_language', array( $language, $printer ), '2.0.0', 'wcpos_cloud_printer_default_language' ); -
apply_filters_deprecated( 'woocommerce_pos_consent_copy', array( $copy ), '2.0.0', 'wcpos_consent_copy' ); -
apply_filters_deprecated( 'woocommerce_pos_content_security_policy', array( $policy ), '2.0.0', 'wcpos_content_security_policy' ); -
apply_filters_deprecated( 'woocommerce_pos_customer_email_enabled', array( $filtered, $email_id, $order, $email_class ), '2.0.0', 'wcpos_customer_email_enabled' ); -
apply_filters_deprecated( 'woocommerce_pos_customer_emails', array( $customer_emails ), '2.0.0', 'wcpos_customer_emails' ); -
apply_filters_deprecated( 'woocommerce_pos_default_product_visibility', array( $selected, $post ), '2.0.0', 'wcpos_default_product_visibility' ); -
apply_filters_deprecated( 'woocommerce_pos_development_mode', array( $filtered ), '2.0.0', 'wcpos_development_mode' ); -
apply_filters_deprecated( 'woocommerce_pos_error_reporting_enabled', array( $filtered, $consent_allowed ), '2.0.0', 'wcpos_error_reporting_enabled' ); -
apply_filters_deprecated( 'woocommerce_pos_excluded_custom_barcode_fields', array( $filtered ), '2.0.0', 'wcpos_excluded_custom_barcode_fields' ); -
apply_filters_deprecated( 'woocommerce_pos_extensions_catalog_url', array( $url ), '2.0.0', 'wcpos_extensions_catalog_url' ); -
apply_filters_deprecated( 'woocommerce_pos_fiscal_snapshot_enrich', array( $enriched, $order_id ), '2.0.0', 'wcpos_fiscal_snapshot_enrich' ); -
apply_filters_deprecated( 'woocommerce_pos_font_pack_sources', array( $filtered ), '2.0.0', 'wcpos_font_pack_sources' ); -
apply_filters_deprecated( 'woocommerce_pos_font_packs', array( $filtered ), '2.0.0', 'wcpos_font_packs' ); -
do_action_deprecated( 'woocommerce_pos_frontend_template_redirect', array(), '2.0.0', 'wcpos_frontend_template_redirect' ); -
apply_filters_deprecated( 'woocommerce_pos_gallery_templates', array( $filtered ), '2.0.0', 'wcpos_gallery_templates' ); -
apply_filters_deprecated( 'woocommerce_pos_get_store', array( $filtered, $the_store, $args ), '2.0.0', 'wcpos_get_store' ); -
apply_filters_deprecated( 'woocommerce_pos_get_stores', array( $filtered, $args ), '2.0.0', 'wcpos_get_stores' ); -
apply_filters_deprecated( 'woocommerce_pos_hide_pos_only_products', array( $filtered, $query ), '2.0.0', 'wcpos_hide_pos_only_products' ); -
apply_filters_deprecated( 'woocommerce_pos_i18n_maintain', array( $filtered ), '2.0.0', 'wcpos_i18n_maintain' ); -
apply_filters_deprecated( 'woocommerce_pos_inline_vars', array( $vars ), '2.0.0', 'wcpos_inline_vars' ); -
apply_filters_deprecated( 'woocommerce_pos_integrity_scan_cache_ttl', array( $ttl ), '2.0.0', 'wcpos_integrity_scan_cache_ttl' ); -
apply_filters_deprecated( 'woocommerce_pos_is_pro_active', array( $filtered ), '2.0.0', 'wcpos_is_pro_active' ); -
apply_filters_deprecated( 'woocommerce_pos_item_is_on_sale', array( $filtered, $product, $item, $pos_data ), '2.0.0', 'wcpos_item_is_on_sale' ); -
apply_filters_deprecated( 'woocommerce_pos_jwt_access_token_before_sign', array( $payload, $user ), '2.0.0', 'wcpos_jwt_access_token_before_sign' ); -
apply_filters_deprecated( 'woocommerce_pos_jwt_access_token_expire', array( $filtered, $issued_at ), '2.0.0', 'wcpos_jwt_access_token_expire' ); -
apply_filters_deprecated( 'woocommerce_pos_jwt_refresh_token_before_sign', array( $token, $user ), '2.0.0', 'wcpos_jwt_refresh_token_before_sign' ); -
apply_filters_deprecated( 'woocommerce_pos_jwt_refresh_token_expire', array( $filtered, $issued_at ), '2.0.0', 'wcpos_jwt_refresh_token_expire' ); -
apply_filters_deprecated( 'woocommerce_pos_landing_bootstrap_flags', array( $filtered, $distinct_id ), '2.0.0', 'wcpos_landing_bootstrap_flags' ); -
apply_filters_deprecated( 'woocommerce_pos_license_settings', array( $filtered ), '2.0.0', 'wcpos_license_settings' ); -
apply_filters_deprecated( 'woocommerce_pos_locate_template', array( $filtered_path, $template ), '2.0.0', 'wcpos_locate_template' ); -
apply_filters_deprecated( 'woocommerce_pos_log_handler_type', array( $type ), '2.0.0', 'wcpos_log_handler_type' ); -
apply_filters_deprecated( 'woocommerce_pos_logging', array( $filtered, $message ), '2.0.0', 'wcpos_logging' ); -
apply_filters_deprecated( 'woocommerce_pos_meta_data_log_top_keys', array( $include_top_keys, $object, $count ), '2.0.0', 'wcpos_meta_data_log_top_keys' ); -
apply_filters_deprecated( 'woocommerce_pos_meta_data_warning_threshold', array( $warning_threshold ), '2.0.0', 'wcpos_meta_data_warning_threshold' ); -
apply_filters_deprecated( 'woocommerce_pos_online_only_product_visibility_settings', array( $filtered, $scope ), '2.0.0', 'wcpos_online_only_product_visibility_settings' ); -
apply_filters_deprecated( 'woocommerce_pos_online_only_variations_visibility_settings', array( $filtered, $scope ), '2.0.0', 'wcpos_online_only_variations_visibility_settings' ); -
apply_filters_deprecated( 'woocommerce_pos_order_pull_ids', array( $filtered, $request ), '2.0.0', 'wcpos_order_pull_ids' ); -
do_action_deprecated( 'woocommerce_pos_order_services_ready', array(), '2.0.0', 'wcpos_order_services_ready' ); -
apply_filters_deprecated( 'woocommerce_pos_order_store_reassignment_allowed', array( $authorized, (string) $reassignment['_pos_store'], $id ), '2.0.0', 'wcpos_order_store_reassignment_allowed' ); -
apply_filters_deprecated( 'woocommerce_pos_payment_gateways_settings', array( $filtered ), '2.0.0', 'wcpos_payment_gateways_settings' ); -
do_action_deprecated( 'woocommerce_pos_payment_recorded', array( $order, $row ), '2.0.0', 'wcpos_payment_recorded' ); -
do_action_deprecated( 'woocommerce_pos_payment_refused', array( $order, $row ), '2.0.0', 'wcpos_payment_refused' ); -
do_action_deprecated( 'woocommerce_pos_payment_voided', array( $order, $row, $applied, $reason ), '2.0.0', 'wcpos_payment_voided' ); -
apply_filters_deprecated( 'woocommerce_pos_pos_only_catalog_visibility', array( $visibility, $product ), '2.0.0', 'wcpos_pos_only_catalog_visibility' ); -
apply_filters_deprecated( 'woocommerce_pos_pos_only_product_visibility_settings', array( $filtered, $scope ), '2.0.0', 'wcpos_pos_only_product_visibility_settings' ); -
apply_filters_deprecated( 'woocommerce_pos_pos_only_variations_visibility_settings', array( $filtered, $scope ), '2.0.0', 'wcpos_pos_only_variations_visibility_settings' ); -
apply_filters_deprecated( "woocommerce_pos_pre_save_{$this->id()}_settings", array( $settings, $this->id() ), '2.0.0', "wcpos_pre_save_{$this->id()}_settings" ); -
do_action_deprecated( 'woocommerce_pos_print_job_created', array( (int) $id, (string) $args['printer_id'] ), '2.0.0', 'wcpos_print_job_created' ); -
apply_filters_deprecated( 'woocommerce_pos_print_job_failed_retention_days', array( $failed_retention_days ), '2.0.0', 'wcpos_print_job_failed_retention_days' ); -
apply_filters_deprecated( 'woocommerce_pos_print_job_retention_days', array( $retention_days ), '2.0.0', 'wcpos_print_job_retention_days' ); -
apply_filters_deprecated( 'woocommerce_pos_print_receipt_path', array( $filtered ), '2.0.0', 'wcpos_print_receipt_path' ); -
apply_filters_deprecated( 'woocommerce_pos_product_visibility_settings', array( $filtered, $scope ), '2.0.0', 'wcpos_product_visibility_settings' ); -
apply_filters_deprecated( 'woocommerce_pos_protected_account_capabilities', array( $caps ), '2.0.0', 'wcpos_protected_account_capabilities' ); -
apply_filters_deprecated( 'woocommerce_pos_receipt_pdf_data', array( $receipt_data, $order ), '2.0.0', 'wcpos_receipt_pdf_data' ); -
apply_filters_deprecated( 'woocommerce_pos_receipt_raster_font', array( $path ), '2.0.0', 'wcpos_receipt_raster_font' ); -
apply_filters_deprecated( 'woocommerce_pos_records_list_args', array( $args, $request ), '2.0.0', 'wcpos_records_list_args' ); -
do_action_deprecated( 'woocommerce_pos_register_pos_admin', array( array( 'toplevel' => $this->toplevel_screen_id, 'settings' => $this->settings_screen_id, ), ), '2.0.0', 'wcpos_register_pos_admin' ); -
do_action_deprecated( 'woocommerce_pos_register_settings_sections', array( $this->registry ), '2.0.0', 'wcpos_register_settings_sections' ); -
apply_filters_deprecated( 'woocommerce_pos_register_update_fields', array( $fields, $row, $request ), '2.0.0', 'wcpos_register_update_fields' ); -
apply_filters_deprecated( 'woocommerce_pos_register_upsert_fields', array( $fields, $request ), '2.0.0', 'wcpos_register_upsert_fields' ); -
apply_filters_deprecated( 'woocommerce_pos_report_data', array( $data, $key, $scope ), '2.0.0', 'wcpos_report_data' ); -
apply_filters_deprecated( 'woocommerce_pos_reports', array( $reports ), '2.0.0', 'wcpos_reports' ); -
apply_filters_deprecated( 'woocommerce_pos_request_lane', array( self::$lane ), '2.0.0', 'wcpos_request_lane' ); -
apply_filters_deprecated( 'woocommerce_pos_response_size_error_threshold', array( $error_threshold ), '2.0.0', 'wcpos_response_size_error_threshold' ); -
apply_filters_deprecated( 'woocommerce_pos_response_size_warning_threshold', array( $warning_threshold ), '2.0.0', 'wcpos_response_size_warning_threshold' ); -
apply_filters_deprecated( 'woocommerce_pos_rest_api_controllers', array( $filtered ), '2.0.0', 'wcpos_rest_api_controllers' ); -
apply_filters_deprecated( 'woocommerce_pos_rest_api_v2_controllers', array( $filtered ), '2.0.0', 'wcpos_rest_api_v2_controllers' ); -
apply_filters_deprecated( 'woocommerce_pos_rest_prepare_cashier', array( $data, $user, $request ), '2.0.0', 'wcpos_rest_prepare_cashier' ); -
do_action_deprecated( "woocommerce_pos_saved_{$this->id()}_settings", array( $saved_settings, $this->id() ), '2.0.0', "wcpos_saved_{$this->id()}_settings" ); -
apply_filters_deprecated( 'woocommerce_pos_search_fields', array( $filtered, $collection ), '2.0.0', 'wcpos_search_fields' ); -
apply_filters_deprecated( 'woocommerce_pos_session_variance_threshold', array( $threshold, $session ), '2.0.0', 'wcpos_session_variance_threshold' ); -
apply_filters_deprecated( 'woocommerce_pos_sessions_list_args', array( $filtered, $request ), '2.0.0', 'wcpos_sessions_list_args' ); -
apply_filters_deprecated( 'woocommerce_pos_single_product_admin_ajax_class', array( $single_product_class ), '2.0.0', 'wcpos_single_product_admin_ajax_class' ); -
apply_filters_deprecated( 'woocommerce_pos_stock_validation_exempt_statuses', array( $statuses ), '2.0.0', 'wcpos_stock_validation_exempt_statuses' ); -
apply_filters_deprecated( 'woocommerce_pos_storefront_receipt_my_account_button', array( $enabled, $order ), '2.0.0', 'wcpos_storefront_receipt_my_account_button' ); -
apply_filters_deprecated( 'woocommerce_pos_storefront_receipt_order_statuses', array( $statuses, $order ), '2.0.0', 'wcpos_storefront_receipt_order_statuses' ); -
apply_filters_deprecated( 'woocommerce_pos_storefront_receipt_template', array( $template, $order ), '2.0.0', 'wcpos_storefront_receipt_template' ); -
apply_filters_deprecated( 'woocommerce_pos_sync_mutation_create_retention_days', array( $filtered ), '2.0.0', 'wcpos_sync_mutation_create_retention_days' ); -
apply_filters_deprecated( 'woocommerce_pos_sync_mutation_failure_retention_days', array( $filtered ), '2.0.0', 'wcpos_sync_mutation_failure_retention_days' ); -
apply_filters_deprecated( 'woocommerce_pos_sync_mutation_settled_retention_days', array( $filtered ), '2.0.0', 'wcpos_sync_mutation_settled_retention_days' ); -
apply_filters_deprecated( 'woocommerce_pos_sync_order_pull_payloads', array( $payloads, 'orders', $request ), '2.0.0', 'wcpos_sync_order_pull_payloads' ); -
apply_filters_deprecated( 'woocommerce_pos_sync_order_revision_fields', array( $fields ), '2.0.0', 'wcpos_sync_order_revision_fields' ); -
apply_filters_deprecated( 'woocommerce_pos_sync_proxy_response', array( $data, $resource, $request ), '2.0.0', 'wcpos_sync_proxy_response' ); -
apply_filters_deprecated( 'woocommerce_pos_sync_record_lock_timeout', array( $filtered ), '2.0.0', 'wcpos_sync_record_lock_timeout' ); -
apply_filters_deprecated( 'woocommerce_pos_sync_reservation_ttl', array( $filtered ), '2.0.0', 'wcpos_sync_reservation_ttl' ); -
apply_filters_deprecated( 'woocommerce_pos_sync_resolve_barcode_matches', array( $filtered, $code ), '2.0.0', 'wcpos_sync_resolve_barcode_matches' ); -
apply_filters_deprecated( 'woocommerce_pos_sync_serialized_order', array( $payload, $order, $request ), '2.0.0', 'wcpos_sync_serialized_order' ); -
apply_filters_deprecated( 'woocommerce_pos_sync_serialized_product', array( $augmented, $object, $request ), '2.0.0', 'wcpos_sync_serialized_product' ); -
apply_filters_deprecated( 'woocommerce_pos_sync_variation_revision_fields', array( $fields ), '2.0.0', 'wcpos_sync_variation_revision_fields' ); -
apply_filters_deprecated( 'woocommerce_pos_template_gallery_preview_base_url', array( $filtered ), '2.0.0', 'wcpos_template_gallery_preview_base_url' ); -
apply_filters_deprecated( 'woocommerce_pos_uninstall_pro_installed', array( $filtered ), '2.0.0', 'wcpos_uninstall_pro_installed' ); -
apply_filters_deprecated( 'woocommerce_pos_updates_server_profile_url', array( $profile_url ), '2.0.0', 'wcpos_updates_server_profile_url' ); -
apply_filters_deprecated( 'woocommerce_pos_variations_visibility_settings', array( $filtered, $scope ), '2.0.0', 'wcpos_variations_visibility_settings' ); -
apply_filters_deprecated( 'woocommerce_pos_web_bundle_ref', array( $bundle_ref ), '2.0.0', 'wcpos_web_bundle_ref' ); -
apply_filters_deprecated( 'woocommerce_pos_wp_overnight_pdf_templates_enabled', array( $filtered ), '2.0.0', 'wcpos_wp_overnight_pdf_templates_enabled' ); -
apply_filters( 'woocommerce_query_for_reserved_stock', $query, $owner_id, $exclude_order_id ); -
apply_filters( 'woocommerce_shop_manager_editable_roles', self::TILL_ASSIGNABLE_ROLES ); -
apply_filters( 'woocommerce_variation_prices_price', $variation->get_price( 'edit' ), $variation, $product ); -
woocommerce_variation_prices_regular_price
filter Used by 5 plugins → Copy link Customise this hookapply_filters( 'woocommerce_variation_prices_regular_price', $variation->get_regular_price( 'edit' ), $variation, $product ); -
apply_filters( 'woocommerce_variation_prices_sale_price', $variation->get_sale_price( 'edit' ), $variation, $product );
Generated from WCPOS's GPL-licensed source code. Hooks inside bundled third-party libraries are not listed.
Done for you
Rather have it built for you?
Tell us what should change and we’ll write and test the code using these hooks.
Custom hook snippet
from $49
A small, update-safe change built on the plugin’s own hooks.
- Code written against the plugin’s actions and filters
- Tested on a staging copy of your site
- Install instructions included
Typical turnaround: 2–3 business days
Choose thisPlugin customisation
from $149
New features or changed behaviour, without editing the plugin’s files.
- Built as a companion plugin, so updates never wipe it
- Exact quote before we start
- Tested on staging, then deployed
Typical turnaround: 3–7 business days
Choose thisNot sure which fits? Describe what you need and we’ll suggest the simplest option.
Can't find the right hook?
We can build the customisation for you. Describe what you need: