OpenPOS Lite 3.2 has 59 actions and 232 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 OpenPOS Lite fires an action
add_action( 'upgrader_process_complete', function( $object, $arg2 ) {
// Your code runs here.
}, 10, 2 );
// Change a value OpenPOS Lite is about to use
add_filter( 'op_woocommerce_search_products_post_statuses', function( $value ) {
// Change $value here.
return $value;
}, 10, 1 );Parts of a name in {braces} are filled in at runtime (for example a post type or field ID). Choose Example on any hook for a ready-to-edit snippet.
All hooks
-
/** * Hook woocommerce_search_products_post_statuses. */ apply_filters( 'op_woocommerce_search_products_post_statuses', $OPENPOS_CORE->getDefaultProductPostStatus() ); -
/** * Fires after each specific row in the TGMPA Plugins list table. */ do_action( "tgmpa_after_plugin_row_{$item['slug']}", $item['slug'], $item, $this->view_context ); -
/** * By default TGMPA only loads on the WP back-end and not in an Ajax call. * Using this filter you can overrule that behaviour. */ apply_filters( 'tgmpa_load', ( is_admin() && ! defined( 'DOING_AJAX' ) ) ); -
/** * Filter a sanitized key string. */ apply_filters( 'tgmpa_sanitize_key', $key, $raw_key ); -
tgmpa_update_bulk_plugins_complete_actions
filter Used by 146 plugins β Copy link Customise this hook/** * Filter the list of action links available following bulk plugin * installs/updates. */ apply_filters( 'tgmpa_update_bulk_plugins_complete_actions', $update_actions, $this->plugin_info ); -
/** * Fires when the bulk upgrader process is complete. */ do_action( 'upgrader_process_complete', $this, array( 'action' => 'install', 'type' => 'plugin', 'bulk' => true, 'plugins' => $plugins, ) ); -
apply_filters( 'op_file_mode', 0755 ); -
apply_filters( 'op_order_report_status', $config_status ); -
apply_filters( 'woocommerce_order_item_quantity', $_qty, $order, $item ); -
apply_filters( 'api_op_get_search_product_result_data', $result, $this->session_data, $term ); -
apply_filters( 'get_product_formatted_data:pos_tax_class', $this->settings_api->get_option('pos_tax_class','openpos_general'), $_product, $warehouse_id ); -
do_action( 'op_add_customer_after', $id, $session_data, $customer_request_data ); -
do_action( 'op_add_transaction_after', $id, $session_data, $transaction_data ); -
apply_filters( 'op_allow_user_roles', $roles ); -
apply_filters( 'op_check_coupon_request', $is_after_tax ); -
apply_filters( 'op_get_next_order_number_info', $order_number_info ); -
apply_filters( 'op_get_online_shipping_cost_response', $result['response'], $session_data ); -
apply_filters( 'op_guest_customer_data', $customer_data ); -
apply_filters( 'op_kitchen_dish_table_data', $table_data ); -
apply_filters( 'op_kitchen_dish_table_data_area', $table_data, $a ); -
apply_filters( 'op_latest_orders_result', $orders, $list_type, null ); -
apply_filters( 'op_new_customer_data', $customer_data ); -
apply_filters( 'op_new_customer_request', json_decode($by_data,true) ); -
apply_filters( 'op_new_order_data', $order_data, $session_data ); -
apply_filters( 'op_order_data_order_post_obj', get_post($order_id), $order_parse_data ); -
apply_filters( 'op_pull_desk_data', $result_data, $desk_data ); -
apply_filters( 'op_session_id', sanitize_title($session_id) ); -
do_action( 'op_update_customer_after', $customer_id, $session_data, $customer_request_data ); -
apply_filters( 'op_wc_custom_order_numbers', sprintf( '%s%s', $pos_sequential_number_prefix, $order_number ), 'value', $order_number ); -
do_action( 'op_woocommerce_cancelled_order', $_order->get_id(), $status ); -
apply_filters( 'op_woocommerce_cancelled_order_status', 'cancelled', $pos_order ); -
apply_filters( 'pos_setting_categories', $this->getAllCategoryId(), $register_id ); -
apply_filters( 'woocommerce_admin_order_date_format', __( 'M j, Y', 'openpos' ) ); -
do_action( 'woocommerce_email_after_order_table', $order, $sent_to_admin, $plain_text, $email ); -
apply_filters( 'woocommerce_email_attachments', array(), 'low_stock', $product, null ); -
do_action( 'woocommerce_email_before_order_table', $order, $sent_to_admin, $plain_text, $email ); -
do_action( 'woocommerce_email_customer_details', $order, $sent_to_admin, $plain_text, $email ); -
apply_filters( 'woocommerce_email_headers', '', 'low_stock', $product, null ); -
do_action( 'woocommerce_email_order_details', $order, $sent_to_admin, $plain_text, $email ); -
do_action( 'woocommerce_email_order_meta', $order, $sent_to_admin, $plain_text, $email ); -
apply_filters( 'add_order:pos_tax_class', $this->settings_api->get_option('pos_tax_class','openpos_general') ); -
apply_filters( 'add_order:pos_tax_rate_id', $this->settings_api->get_option('pos_tax_rate_id','openpos_general') ); -
apply_filters( 'adjust_stock_found_product_notification_sound', WPOSL_URL.'/assets/sound/add_to_cart.mp3' ); -
apply_filters( 'admin_get_inventories_args', $args ); -
apply_filters( 'admin_op_products_ignores', array(), $this ); -
apply_filters( 'admin_orders_args', $args ); -
apply_filters( 'admin_print_bacode_product_ids', $_tmp_product_ids ); -
apply_filters( 'admin_transactions_args', $args ); -
apply_filters( 'api_op_get_custom_item_data', $result, $session_data, $product_data ); -
apply_filters( 'barcode_img_data', $default_barcode, $product ); -
do_action( 'delete_cart_before', $order_number, $cart_data ); -
apply_filters( 'formatted_woocommerce_price', number_format( $price, $args['decimals'], $args['decimal_separator'], $args['thousand_separator'] ), $price, $args['decimals'], $args['decimal_separator'], $args['thousand_separator'] ); -
apply_filters( 'get_api_order_by_date_args', $args, $post_type, $config_status ); -
apply_filters( 'get_pos_get_debt_by_date_args', $args ); -
apply_filters( 'get_pos_order_by_date_args', $args, $post_type, $config_status ); -
apply_filters( 'get_pos_register_order_by_date_args', $args, $post_type, $config_status ); -
apply_filters( 'get_pos_register_transactions_by_date_args', $args, $post_type ); -
apply_filters( 'get_pos_transactions_by_date_args', $args, $post_type ); -
apply_filters( 'get_pos_warehouse_order_by_date_args', $args, $post_type, $config_status ); -
apply_filters( 'get_pos_warehouse_transactions_by_date_args', $args, $post_type ); -
apply_filters( 'get_product_formatted_data:pos_tax_rate_id', $this->settings_api->get_option('pos_tax_rate_id','openpos_general'), $_product, $warehouse_id ); -
apply_filters( 'get_zreport_posts_args', $args, $from_time, $to_time ); -
apply_filters( 'kitchen_view_template_path', WPOSL_DIR.'/default/'.$file_name, $display ); -
do_action( 'op_add_customer_before', $request, $session_data ); -
do_action( 'op_add_draft_order_after', $order, $order_data ); -
do_action( 'op_add_draft_order_before', $order, $order_data, $session_data ); -
do_action( 'op_add_draft_order_data_before', $order_parse_data, $session_data ); -
do_action( 'op_add_order_after', $order, $order_parse_data ); -
do_action( 'op_add_order_before', $order, $order_parse_data, $session_data ); -
do_action( 'op_add_order_before_change_payment', $order, $order_parse_data ); -
do_action( 'op_add_order_coupon_after', $order, $order_parse_data, $discount_code, $discount_code_amount ); -
do_action( 'op_add_order_data_before', $order_parse_data, $session_data ); -
do_action( 'op_add_order_final_after', $result['data'] ); -
do_action( 'op_add_order_item_after', $order, $item, $_item, $session_data ); -
do_action( 'op_add_order_item_meta', $item, $_item ); -
do_action( 'op_add_product_change_after', $product_id, $warehouse_id, $time, $this ); -
apply_filters( 'op_add_transaction_item_after', $id, $transaction ); -
apply_filters( 'op_addition_general_setting', $addition_general_setting ); -
apply_filters( 'op_addition_payment_methods', $payment_options ); -
apply_filters( 'op_addon_setting', array(), $this ); -
do_action( 'op_admin_barcode_grid_after' ); -
apply_filters( 'op_admin_decal_option', array( 'id' => '_op_allow_decal', 'value' => $tmp_decal_option, 'label' => __( 'Allow print decal', 'wpos-lite'), 'message' => __( 'This feature for premium version only', 'wpos-lite'), 'cbvalue' => 'yes', ) ); -
apply_filters( 'op_admin_products_data', $tmp, $this ); -
apply_filters( 'op_admin_qty_decimal_option', array( 'id' => '_op_qty_decimal', 'value' => $tmp_qty_option, 'label' => __( 'Allow Decimal Qty', 'wpos-lite'), 'message' => __( 'This feature for premium version only', 'wpos-lite'), 'cbvalue' => 'yes', ) ); -
apply_filters( 'op_admin_template_products_page', $template_path, $action, $this ); -
apply_filters( 'op_admin_weight_base_pricing_option', array( 'id' => '_op_weight_base_pricing', 'value' => $tmp_price, 'label' => __( 'POS Base Pricing', 'wpos-lite'), 'message' => __( 'This feature for premium version only', 'wpos-lite'), 'cbvalue' => 'yes', 'options' => array( 'weight_base' => __( 'Weight-Base Pricing', 'wpos-lite'), 'length_base' => __( 'Length-Base Pricing', 'wpos-lite'), 'price_base' => __( 'Price-Base Pricing', 'wpos-lite'),... ); -
do_action( 'op_after_api_return', $api_action, $result ); -
do_action( 'op_after_report_form', $report_type ); -
do_action( 'op_after_report_form_html' ); -
do_action( 'op_after_report_type_options', $report_type ); -
do_action( 'op_after_update_warehouse_qty', $warehouse_id, $product_id, $qty ); -
apply_filters( 'op_allow_order_pickup', $allow, $order_id ); -
apply_filters( 'op_allow_payment_complete', true, $order_parse_data, $session_data ); -
apply_filters( 'op_allow_product_type', $allow_types ); -
apply_filters( 'op_allow_remove_takeaway', true, $takeaway_id ); -
apply_filters( 'op_allow_send_op_email_receipt', $email_receipt ); -
apply_filters( 'op_allow_send_woo_email', false ); -
apply_filters( 'op_api_result', $result, $api_action ); -
apply_filters( 'op_barcode_grid_buttons', '' ); -
apply_filters( 'op_barcode_key_setting', array( 'post_id' => __('Product Id','wpos-lite'), '_sku' => __('Product Sku','wpos-lite'), '_global_unique_id' => __('GTIN, UPC, EAN or ISBN','wpos-lite'), ) ); -
do_action( 'op_before_api_return', $api_action ); -
do_action( 'op_before_update_warehouse_qty', $warehouse_id, $product_id, $qty ); -
apply_filters( 'op_bill_url', WPOSL_URL.'/bill/' ); -
apply_filters( 'op_cashdrawer_login_session_data', $session_data ); -
apply_filters( 'op_category_data', $tmp, $category_ids ); -
apply_filters( 'op_category_tree_data', $tree, $result ); -
do_action( 'op_check_coupon_after', $result ); -
apply_filters( 'op_check_coupon_apply_coupon', $amount, $coupon, $validate, $this ); -
apply_filters( 'op_check_order_data', $orders, $order_parse_data, $session_data ); -
do_action( 'op_create_new_customer_after', $id, $password, $request, $session_data ); -
apply_filters( 'op_customer_addition_fields', $fields ); -
apply_filters( 'op_customer_data', $customer_data ); -
apply_filters( 'op_customer_demo_domain', '@wpos.app' ); -
apply_filters( 'op_customer_require_phone', true, $phone ); -
apply_filters( 'op_customer_roles', $roles ); -
apply_filters( 'op_customer_search_use_lookup', false ); -
apply_filters( 'op_customer_url', WPOSL_URL.'/customer/' ); -
apply_filters( 'op_customer_username', sanitize_title($username), $request ); -
apply_filters( 'op_default_woocommerce_product_post_status', array('publish') ); -
apply_filters( 'op_display_woocommerce_order_number', $order_number, $order ); -
apply_filters( 'op_display_woocommerce_order_number_formatted', $order_number, $pos_sequential_number_prefix ); -
apply_filters( 'op_draft_orders_query_args', $args ); -
apply_filters( 'op_enable_hpos', $this->_enable_hpos ); -
apply_filters( 'op_enable_print_decal', $result ); -
apply_filters( 'op_formatted_woocommerce_price', number_format( $price, $args['decimals'], $args['decimal_separator'], $args['thousand_separator'] ), $price, $args['decimals'], $args['decimal_separator'], $args['thousand_separator'] ); -
apply_filters( 'op_generate_pin_length', 6 ); -
apply_filters( 'op_get_allow_update_table_data', $allow_update, $table_data, $current_data ); -
apply_filters( 'op_get_cost_price', $price, $product_id, $view ); -
apply_filters( "op_get_customer_by_{$by}_result", $users_found, $term, $this ); -
apply_filters( 'op_get_customer_by_email_args', $args ); -
apply_filters( 'op_get_customer_field', $data, $by_data ); -
apply_filters( 'op_get_login_cashdrawer_data', $session_data ); -
apply_filters( 'op_get_login_with_session_cashdrawer_data', $session_response_data ); -
apply_filters( 'op_get_next_cart_number_info', $order_number_info ); -
do_action( 'op_get_online_discount', $result['response'], $session_data ); -
apply_filters( 'op_get_online_order_data', $result, $order ); -
apply_filters( 'op_get_online_order_fee_item_data', $item_formatted_data, $order ); -
apply_filters( 'op_get_online_order_item_data', $item_formatted_data, $order, $item ); -
apply_filters( 'op_get_online_search_total_result', $search_result_total ); -
do_action( 'op_get_online_shipping_cost', $result['response'], $session_data ); -
do_action( 'op_get_online_shipping_method', $result, $session_data ); -
apply_filters( 'op_get_online_shipping_method_response', $result['response'], $session_data ); -
apply_filters( 'op_get_order_id_from_number', $order_id, $order_number ); -
apply_filters( 'op_get_order_transactions', array_values($transactions), $order_id ); -
apply_filters( 'op_get_products_args', $args ); -
apply_filters( 'op_get_products_s_args', $r ); -
apply_filters( 'op_get_search_product_result_data', $result['response'], $session_data ); -
do_action( 'op_get_shipping_method_after', $shipping_data, $cart_data ); -
do_action( 'op_get_shipping_method_before', $shipping_data, $cart_data ); -
apply_filters( 'op_get_transaction_item', $transaction_data, $transaction_id ); -
apply_filters( 'op_ignore_deduct_order_status', $status ); -
apply_filters( 'op_is_weight_base_pricing', $result ); -
apply_filters( 'op_kitchen_custom_action', array(), $custom_action, $this ); -
apply_filters( 'op_kitchen_dish_item_data', $tmp, $table_data, $item ); -
apply_filters( 'op_kitchen_tables_data', $kitchen_data, $outlet_id, $this ); -
apply_filters( 'op_kitchen_url', WPOSL_URL.'/kitchen/' ); -
apply_filters( 'op_latest_order_per_page', $per_page ); -
apply_filters( 'op_latest_order_query_args', $args ); -
apply_filters( 'op_laybuy_order_status', $status ); -
apply_filters( 'op_list_restaurant_area', $result ); -
apply_filters( 'op_load_product_args', $args ); -
apply_filters( 'op_load_product_per_page', 50 ); -
apply_filters( 'op_load_stock_product_args', $args ); -
apply_filters( 'op_login_data', $user_login_data, $user ); -
apply_filters( 'op_login_format_payment_data', $payment_method_data, $methods ); -
apply_filters( 'op_login_pin_unique_session', false ); -
apply_filters( 'op_logout_data', $result['response'], $session_data ); -
apply_filters( 'op_new_order_status', $tmp_setting_order_status, $order_parse_data ); -
apply_filters( 'op_notice_orders_result', $orders ); -
apply_filters( 'op_notification_order_query_args', $args ); -
apply_filters( 'op_online_order_paid_status', array('completed'), $order ); -
apply_filters( 'op_order_api_status', $config_status ); -
apply_filters( 'op_order_coupons', $order->get_coupons(), $order ); -
apply_filters( 'op_order_data_order_is_update_order_number', true, $order_post, $order_parse_data ); -
apply_filters( 'op_order_data_order_post_order_number', $next_order['order_number'], $order_post, $order_parse_data ); -
apply_filters( 'op_order_data_order_post_order_number_format', $next_order['order_number_formatted'], $order_post, $order_parse_data ); -
apply_filters( 'op_order_debt_status', $config_status ); -
apply_filters( 'op_order_item_data', $item, $_item, $order ); -
apply_filters( 'op_order_item_data_before', $_itm, $order_parse_data ); -
apply_filters( 'op_order_note_allow_status', $order_note_allow_status, $order, $this ); -
apply_filters( 'op_order_note_is_customer_node', false ); -
apply_filters( 'op_order_status_full_pay', $tmp_setting_order_status, $order ); -
apply_filters( 'op_order_transaction_data', $transaction, $order, $order_parse_data ); -
apply_filters( 'op_order_use_store_shipping_address', true, $order_parse_data ); -
apply_filters( 'op_orders_statuses', array( 'wc-processing', 'wc-pending', 'wc-completed', 'wc-refunded', 'wc-on-hold', ) ); -
apply_filters( 'op_outlet_order_item_quantity', ($current_qty - $qty), $warehouse_id, $product_id, $item ); -
apply_filters( 'op_outlet_order_item_refund_quantity', ($current_qty - $refund_qty), $warehouse_id, $post_product_id, $item ); -
apply_filters( 'op_pin_authenticate_allow', true, $pin, $unique_session ); -
apply_filters( 'op_pos_payment_method_list', $payment_methods ); -
apply_filters( 'op_pos_post_types', $post_types ); -
apply_filters( 'op_pos_url', 'https://pos.wpos.app/#/' ); -
apply_filters( 'op_print_label_default_qty', $default_qty ); -
apply_filters( 'op_print_receipt_allow_access', $allow_access, $order ); -
apply_filters( 'op_print_receipt_order_json', $order_json, $order_id ); -
apply_filters( 'op_print_receipt_template_id', $tmp_template_id ); -
apply_filters( 'op_product_barcode', $barcode, $productId ); -
apply_filters( 'op_product_data', $tmp, $_product, $warehouse_id ); -
apply_filters( 'op_product_info_label', $result, $_op_product, $atts ); -
apply_filters( 'op_product_label_qty', 1, $_op_product ); -
apply_filters( 'op_product_row_count', array(10, 25, 50) ); -
apply_filters( 'op_product_variation_attribute_option_data', $option_tmp ); -
apply_filters( 'op_raw_woocommerce_price', floatval($tmp_price) ); -
apply_filters( 'op_receipt_template_data', $receipt_template, $setting ); -
apply_filters( 'op_receipt_template_get_data', $result, $this ); -
apply_filters( 'op_receipt_template_header_data', do_shortcode($setting['receipt_template_header']), $setting ); -
apply_filters( 'op_receipt_use_woo_email', false, $order_data ); -
apply_filters( 'op_register_field_info', $result, $atts ); -
apply_filters( 'op_register_get_data', $result, $this ); -
apply_filters( 'op_register_get_modes', $modes, $this ); -
do_action( 'op_remove_json_table_before', $table_data, $outlet_id ); -
apply_filters( 'op_report_end_work_day_time', 0 ); -
do_action( 'op_save_order_note_after', $order_note, $order_status, $order ); -
apply_filters( 'op_search_customer_args', $args, $term ); -
apply_filters( 'op_search_customer_result', $customers, $term, $this ); -
apply_filters( 'op_search_customer_result_per_page', 5, $term ); -
apply_filters( 'op_search_order_args', $args ); -
apply_filters( 'op_send_email_receipt', $_op_email_receipt, $_order, $recipient ); -
apply_filters( 'op_setting_fields', $settings_fields ); -
apply_filters( 'op_setting_shipping_method_data', $tmp ); -
apply_filters( 'op_shipping_method_data', array_values($methods_rates) ); -
apply_filters( 'op_shipping_methods', $shipping_result ); -
apply_filters( 'op_table_details', $result, $is_front ); -
apply_filters( 'op_template_path', WPOSL_DIR.'templates/', $order_id, $source ); -
do_action( 'op_update_order_after', $order_data, $order_post_data ); -
apply_filters( 'op_update_table_data', $table_data, $current_data ); -
do_action( 'op_update_warehouse_qty', $warehouse_id, $product_id, $qty, $meta_key ); -
do_action( 'op_upload_desk_after', $_tables, $this->table_class, $tables, $_old_tables, $session_data ); -
do_action( 'op_upload_desk_before', $tables, $session_data ); -
apply_filters( 'op_warehouse_field_info', $result, $atts ); -
do_action( 'op_warehouse_form_after', $default ); -
do_action( 'op_warehouse_form_end', $default ); -
apply_filters( 'op_warehouse_get_data', $result, $this ); -
apply_filters( 'op_warehouse_get_qty', 1*$qty, $warehouse_id, $product_id, $this ); -
apply_filters( 'op_warehouse_get_total_qty', $qty, $product_id, $this ); -
apply_filters( 'op_warehouse_inventory_result', array( 'current' => $current, 'rowCount' => $rowCount, 'rows' => $rows, 'total' => $total ) ); -
apply_filters( 'op_warehouse_inventory_row', $tmp, $warehouse_id, $post ); -
apply_filters( 'op_warehouse_is_instore', $result, $warehouse_id, $product_id, $this ); -
apply_filters( 'op_warehouse_list', $result, $this ); -
apply_filters( 'op_warehouse_stock_qty_html_input', $tmp_qty_html, $tmp, $w ); -
apply_filters( 'op_warehouse_stock_row_data', $tmp, $post, $warehouse_id ); -
apply_filters( 'op_woocommerce_allow_search_product_content', true ); -
apply_filters( 'op_woocommerce_payment_complete_reduce_order_stock', ! $stock_reduced, $order_id ); -
apply_filters( 'op_woocommerce_product_pre_search_products', false, $term, $type, $include_variations, $all_statuses, $limit ); -
apply_filters( 'op_z_report_template', WPOSL_DIR.'templates/admin/report/print_z_report.php', $register_report, $posts, $register, $table_data ); -
do_action( 'openpos_after_add_custom_product', $product_id, $product_data ); -
do_action( 'openpos_after_login', $creds, $result['response'] ); -
apply_filters( 'openpos_allow_send_stock_notification', $_allow_send_stock_notification, $_op_warehouse_id, $product_stock_update ); -
do_action( 'openpos_before_login', $creds ); -
do_action( 'openpos_logout', $session_id, $session_data ); -
apply_filters( 'openpos_woocommerce_available_payment_gateways', $new_payment_method, $payment_methods ); -
apply_filters( 'order_pos_payment:order_addition_information', $order->get_meta('_op_order_addition_information'), $id, $order ); -
apply_filters( 'pos_display_price_with_tax', ('incl' === get_option('woocommerce_tax_display_shop')) ? true : false, $product, $warehouse_id ); -
apply_filters( 'print_zreport.use_register_z_template', !empty($template) ); -
apply_filters( 'raw_woocommerce_price', floatval( $negative ? $price * -1 : $price ) ); -
apply_filters( 'rest_api_limit_duration', 120 ); -
apply_filters( 'rest_api_limit_request', 5 ); -
apply_filters( 'search_product_include_variable', false ); -
do_action( 'stock_products_update_after', $params ); -
apply_filters( "tgmpa_{$prefix}plugin_action_links", array_filter( $action_links ), $item['slug'], $item, $this->view_context ); -
do_action_ref_array( 'tgmpa_init', array( $this ) ); -
apply_filters( 'tgmpa_notice_action_links', $action_links ); -
apply_filters( 'tgmpa_notice_rendered_action_links', $action_links ); -
do_action( 'tgmpa_register' ); -
apply_filters( 'tgmpa_show_admin_notice_capability', 'publish_posts' ); -
apply_filters( 'tgmpa_table_columns', $columns ); -
apply_filters( 'tgmpa_table_data_item', $table_data[ $i ], $plugin ); -
apply_filters( 'tgmpa_table_data_items', $this->_gather_plugin_data() ); -
apply_filters( 'update_order:refund_arg', array( 'amount' => $refund_amount, 'reason' => $refund_reason, 'order_id' => $order_id, 'line_items' => $line_items, 'refund_payment' => false, 'restock_items' => $restock_items, ) ); -
apply_filters( 'wc_price_args', wp_parse_args( $args, array( 'ex_tax_label' => false, 'currency' => '', 'decimal_separator' => wc_get_price_decimal_separator(), 'thousand_separator' => wc_get_price_thousand_separator(), 'decimals' => wc_get_price_decimals(), 'price_format' => get_woocommerce_price_format(), ) ) ); -
apply_filters( 'woocommerce_email_content_low_stock', $message, $product ); -
apply_filters( 'woocommerce_email_content_no_stock', $message, $product ); -
do_action( 'woocommerce_email_header', $email_heading, $email ); -
apply_filters( 'woocommerce_email_recipient_low_stock', get_option( 'woocommerce_stock_email_recipient' ), $product, null ); -
apply_filters( 'woocommerce_email_recipient_no_stock', get_option( 'woocommerce_stock_email_recipient' ), $product, null ); -
apply_filters( 'woocommerce_email_subject_low_stock', $subject, $product, null ); -
apply_filters( 'woocommerce_email_subject_no_stock', $subject, $product, null ); -
apply_filters( 'woocommerce_order_item_quantity_increase', $item_stock_reduced, $order, $item ); -
apply_filters( 'woocommerce_price_trim_zeros', false ); -
woocommerce_should_send_low_stock_notification
filter Used by 3 plugins β Copy link Customise this hookapply_filters( 'woocommerce_should_send_low_stock_notification', true, $product->get_id() ); -
woocommerce_should_send_no_stock_notification
filter Used by 3 plugins β Copy link Customise this hookapply_filters( 'woocommerce_should_send_no_stock_notification', true, $product->get_id() ); -
apply_filters( 'woocommerce_show_admin_bar_visit_store', true ); -
do_action( "wsa_form_bottom_{$form['id']}", $form ); -
do_action( "wsa_form_top_{$form['id']}", $form ); -
apply_filters( 'zreport_logout_id', $id, $data );
Generated from OpenPOS Lite'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: