Retail POS for WooCommerce 1.0.10 has 2 actions and 21 filters, read directly from its source code on Nov 19, 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 Retail POS for WooCommerce fires an action
add_action( 'erenlabs_product_cost_updated', function( $id, $cost, $old, $context ) {
// Your code runs here.
}, 10, 4 );
// Change a value Retail POS for WooCommerce is about to use
add_filter( 'rpsw_customer_lookup', function( $out, $normalized ) {
// Change $out here.
return $out;
}, 10, 2 );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
-
/** * Fires after any suite plugin changes a product's cost. */ do_action( 'erenlabs_product_cost_updated', $id, $cost, $old, $context ); -
/** * Fires after any suite plugin changes stock. */ do_action( 'erenlabs_stock_moved', $movement ); -
/** * Filter the customer-lookup response. The Pro build appends the credit * balance and recent ledger rows. */ apply_filters( 'rpsw_customer_lookup', $out, $normalized ); -
/** * Filter the dashboard payload. The Pro build appends the ledger's outstanding * total. */ apply_filters( 'rpsw_dashboard_data', $data ); -
/** * Filter the default settings. The Pro build adds its keys here (campaign * scenarios, credit-alert toggle, …). */ apply_filters( 'rpsw_default_settings', $defaults ); -
/** * Filter the POS order detail. The Pro build appends the tender rows and the * open balance. */ apply_filters( 'rpsw_order_detail', $data, $o ); -
/** * Filter the minimum days of use before asking for a review. */ apply_filters( 'rpsw_review_min_days', 7 ); -
/** * Filter how many counter sales count as "it worked for me". */ apply_filters( 'rpsw_review_min_sales', 20 ); -
/** * Filter the snooze duration in days for "maybe later". */ apply_filters( 'rpsw_review_snooze_days', 14 ); -
/** * Filter the sanitized settings before persisting. The Pro build sanitizes and * merges its own keys here. */ apply_filters( 'rpsw_sanitize_settings', $out, $in, $current ); -
apply_filters( 'erenlabs_cost_mirror_keys', array( '_wc_cog_cost', '_cost' ) ); -
apply_filters( 'erenlabs_cost_sources', self::BRIDGES ); -
apply_filters( 'erenlabs_product_cost', $cost, $product ); -
apply_filters( 'erenlabs_product_cost_pre', null, $product ); -
apply_filters( 'erenlabs_suite_modules', array() ); -
apply_filters( 'plugin_locale', determine_locale(), $domain ); -
apply_filters( 'rpsw_capability', 'manage_woocommerce' ); -
apply_filters( 'rpsw_effective_price', $raw, $product ); -
apply_filters( 'rpsw_is_pro', $pro ); -
apply_filters( 'rpsw_locales', array( 'en_US' => 'English', 'tr_TR' => 'Türkçe', 'es_ES' => 'Español', 'de_DE' => 'Deutsch', 'fr_FR' => 'Français', 'it_IT' => 'Italiano', 'pt_BR' => 'Português (Brasil)', 'ar' => 'العربية', ) ); -
apply_filters( 'rpsw_suite_url', 'https://checkout.freemius.com/bundle/38966/plan/64757/' ); -
apply_filters( 'rpsw_support_url', $url ); -
apply_filters( 'rpsw_upgrade_url', $url );
Generated from Retail POS for WooCommerce'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: