Phone Orders for WooCommerce 3.12.1 has 40 actions and 142 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 Phone Orders for WooCommerce fires an action
add_action( 'wdp_after_switch_customer_while_calc', function() {
// Your code runs here.
}, 10, 1 );
// Change a value Phone Orders for WooCommerce is about to use
add_filter( 'wp_query_search_exclusion_prefix', 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
-
/** * Filters the prefix that indicates that a search term should be excluded from * results. */ apply_filters( 'wp_query_search_exclusion_prefix', '-' ); -
/** * Action wpo_get_item_by_product_default_price_context */ apply_filters( 'wpo_get_item_by_product_default_price_context', 'view', $product, $item_data ); -
apply_filters( 'wpo_must_switch_cart_user', $this->option_handler->get_option('switch_customer_while_calc_cart') ); -
do_action( 'wdp_after_switch_customer_while_calc' ); -
apply_filters( 'wpo_customer_formatted_address', array( 'first_name' => $customer_data['billing_first_name'], 'last_name' => $customer_data['billing_last_name'], 'company' => $customer_data['billing_company'], 'address_1' => $customer_data['billing_address_1'], 'address_2' => $customer_data['billing_address_2'], 'city' => $customer_data['billing_city'], 'state' => $customer_data['billing_state'], 'postcode' => $customer_data['billing_postcode... ); -
apply_filters( 'woocommerce_quantity_input_min', $default_qty_step, $product ); -
apply_filters( 'woocommerce_quantity_input_step', $default_qty_step, $product ); -
apply_filters( 'wpo_allow_fractional_qty_for_product', false, $product ); -
apply_filters( 'wpo_autocomplete_product_fields_delimiter', $this->option_handler->get_option('display_search_result_as_grid') ? '<br/>' : '|' ); -
apply_filters( 'wpo_search_products_result_item', array( 'product_id' => $product_id, 'title' => $this->format_row_product($product, $delimiter), 'sort' => ($term == $product_id) ? "" : $product->get_name(), 'rev_points' => $rev_points, 'img' => $image_url, 'permalink' => get_permalink($product_id), 'product_link' => admin_url('post.php?post=' . absint($product_id) . '&action=edit'), 'product' => $product, 'parent_id' => $product->get_parent_i... ); -
woocommerce_adjust_non_base_location_prices
filter Used by 50 plugins → Copy link Customise this hookapply_filters( 'woocommerce_adjust_non_base_location_prices', true ); -
apply_filters( 'wpo_custom_google_autocomplete_js_callback_function', 'wpo_prepare_selected_address' ); -
apply_filters( 'wpo_custom_init_autocomplete_js_function', null ); -
apply_filters( 'wpo_custom_init_autocomplete_placeholder', __('Input your address', 'phone-orders-for-woocommerce') ); -
apply_filters( 'wpo_default_qty_in_advanced_search', 1 ); -
apply_filters( 'wpo_product_calc_line_subtotal', ! $this->is_subscription($product_id), $item ); -
apply_filters( 'wpo_search_product_limit', -1, $limit ); -
apply_filters( 'wpo_use_configure_product_action_as_default', false ); -
apply_filters( 'active_plugins', get_option('active_plugins') ); -
do_action( 'wc_phone_orders_construct_end', $settings ); -
apply_filters( 'wc_price_args', array( 'currency' => get_woocommerce_currency(), 'currency_symbol' => get_woocommerce_currency_symbol(), '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(), ) ); -
do_action( 'wdp_force_process_wc_cart', WC()->cart ); -
apply_filters( 'wdp_is_subscription_product', $this->subscription_plugin_enabled && WC_Subscriptions_Product::is_subscription($product_id), $product_id ); -
apply_filters( 'woe_fill_cart_url_use_empty_cart', true ); -
apply_filters( 'woocommerce_add_to_cart_product_id', absint($product_id) ); -
apply_filters( 'woocommerce_add_to_cart_validation', true, $product_id, $quantity ); -
apply_filters( 'woocommerce_admin_order_item_thumbnail', $_product->get_image('thumbnail', array('title' => ''), false), $item_id, $item ); -
do_action( 'woocommerce_after_resend_order_email', $order, 'customer_invoice' ); -
do_action( 'woocommerce_before_resend_order_emails', $order, 'customer_invoice' ); -
apply_filters( 'woocommerce_cart_hide_zero_taxes', true ); -
do_action( 'woocommerce_cart_loaded_from_session', WC()->cart ); -
woocommerce_cart_remove_taxes_zero_rate_id
filter Used by 10 plugins → Copy link Customise this hookapply_filters( 'woocommerce_cart_remove_taxes_zero_rate_id', 'zero-rated' ); -
apply_filters( 'woocommerce_cart_totals_coupon_label', $code, $coupon ); -
apply_filters( 'woocommerce_cart_totals_order_total_html', $value ); -
do_action( 'woocommerce_checkout_order_processed', $order_id, $checkout_data, $order ); -
do_action( 'woocommerce_checkout_phone_order_processed', $order_id, $checkout_data, $order ); -
apply_filters( 'woocommerce_get_cart_url', wc_get_page_permalink('cart') ); -
apply_filters( 'woocommerce_order_is_vat_exempt', 'yes' === $order->get_meta('is_vat_exempt'), $order ); -
do_action( 'woocommerce_payment_complete', $order->get_id(), "" ); -
apply_filters( 'woocommerce_quantity_input_args', [ 'input_value' => $min_qty, 'max_value' => $in_stock, 'min_value' => $min_qty, 'step' => $qty_step, ], $product ); -
woocommerce_subscriptions_thank_you_message
filter Used by 2 plugins → Copy link Customise this hookapply_filters( 'woocommerce_subscriptions_thank_you_message', '', $order_id ); -
apply_filters( 'wpo_account_funds_amount', $cart_data["customer"]["id"] ); -
apply_filters( 'wpo_account_funds_enabled', false ); -
do_action( 'wpo_add_cart_items_settings' ); -
do_action( 'wpo_add_coupons_settings' ); -
apply_filters( 'wpo_add_custom_item_type_field_name', array('type' => 'input') ); -
do_action( 'wpo_add_fee' ); -
do_action( 'wpo_add_interface_settings' ); -
do_action( 'wpo_add_layout_settings' ); -
apply_filters( 'wpo_add_note_created_with', true ); -
do_action( 'wpo_add_settings' ); -
do_action( 'wpo_add_shipping_settings' ); -
apply_filters( 'wpo_add_system_note_created_with', false ); -
apply_filters( 'wpo_add_system_note_invoice_sent', false ); -
do_action( 'wpo_add_tax_settings' ); -
do_action( 'wpo_add_woocommerce_settings' ); -
apply_filters( 'wpo_admin_tabs', $tabs ); -
do_action( 'wpo_after_create_customer', $user_id, $data ); -
do_action( 'wpo_after_customer_details' ); -
apply_filters( 'wpo_after_get_customer_by_id', $customer_data, $customer_obj ); -
apply_filters( 'wpo_after_get_customer_by_order', $customer_data, $customer_obj ); -
do_action( 'wpo_after_order_items' ); -
apply_filters( 'wpo_after_update_customer', $customer, $request ); -
apply_filters( 'wpo_ajax_save_settings', $settings ); -
do_action( 'wpo_apply_fees_from_wc_cart', WC()->cart ); -
apply_filters( 'wpo_autocomplete_product_custom_output', false, $product ); -
apply_filters( 'wpo_autocomplete_product_fields', array('name', 'sku', 'price', 'status', 'qty') ); -
apply_filters( "wpo_before_{$method}", $request ); -
apply_filters( 'wpo_before_create_customer', $data ); -
do_action( 'wpo_before_get_product_history_customer_list', $data ); -
do_action( 'wpo_before_init_order', $request, $default_customer ); -
do_action( 'wpo_before_load_gifts_products', $data ); -
apply_filters( 'wpo_before_load_items', $request ); -
do_action( 'wpo_before_render_html_app' ); -
do_action( 'wpo_before_search_items_field' ); -
do_action( 'wpo_before_search_products_and_variations', $data ); -
do_action( 'wpo_before_update_cart', $cart_data ); -
apply_filters( 'wpo_calculate_package_hash', null, $package ); -
apply_filters( 'wpo_cart_fee_type', $fee_data['type'], $fee_data ); -
apply_filters( 'wpo_cart_fees', $cart_data['fee'], $cart_data ); -
apply_filters( 'wpo_cart_item_is_allow_delete', true, $cart_item_data ); -
apply_filters( 'wpo_cart_item_is_price_readonly', $this->option_handler->get_option('is_readonly_price'), $cart_item_data ); -
apply_filters( 'wpo_cart_item_is_qty_readonly', false, $cart_item_data ); -
apply_filters( 'wpo_cart_original_items', $cart_item_key___original_item ); -
do_action( 'wpo_cart_updated' ); -
apply_filters( 'wpo_cart_updated_additional_data', array(), $cart_data ); -
apply_filters( 'wpo_cart_updated_result', $results, $cart_data, WC()->cart ); -
apply_filters( 'wpo_cart_updated_subtotal', $subtotal, WC()->cart ); -
apply_filters( 'wpo_cart_updated_total_custom_html', '', $cart_data, WC()->cart ); -
do_action( 'wpo_cart_updated_with_user' ); -
apply_filters( 'wpo_checkout_posted_data', $checkout_data ); -
apply_filters( 'wpo_children_cart_item', null, $item ); -
apply_filters( 'wpo_clear_cart_after_create_order', false ); -
apply_filters( 'wpo_clear_shipping_selection', $this->option_handler->get_option('select_optimal_shipping') ); -
do_action( 'wpo_create_custom_product', $product->get_id(), $product ); -
apply_filters( 'wpo_create_order_button_label', __('Create order', 'phone-orders-for-woocommerce') ); -
apply_filters( 'wpo_currency_code_options', get_woocommerce_currencies() ); -
apply_filters( 'wpo_custom_product_search', array(), $query_args, $term ); -
apply_filters( 'wpo_customer_addition_full_keys', $full_keys ); -
apply_filters( 'wpo_customer_address_additional_keys', array( 'lat' => array( 'label' => __('Latitude', 'phone-orders-for-woocommerce'), 'value' => '', 'visibility' => false, ), 'lng' => array( 'label' => __('Longitude', 'phone-orders-for-woocommerce'), 'value' => '', 'visibility' => false, ), 'street_number' => array( 'label' => __('Street number', 'phone-orders-for-woocommerce'), 'value' => '', 'visibility' => false, ), ) ); -
apply_filters( 'wpo_customer_custom_fields', $cart['customer']['custom_fields'] ); -
apply_filters( 'wpo_customer_edit_address_fields_to_show', $fields ); -
apply_filters( 'wpo_disable_customer_search', false ); -
apply_filters( 'wpo_disable_order_emails', array( 'new_order', 'failed_order', 'cancelled_order', 'customer_on_hold_order', 'customer_refunded_order', 'customer_completed_order', 'customer_processing_order', ) ); -
apply_filters( 'wpo_disable_product_search', false ); -
apply_filters( 'wpo_edit_address_modal_address_fields_order', array('country', 'company', 'address_1', 'address_2', 'city', 'state', 'postcode', 'phone', 'locale' ) ); -
apply_filters( 'wpo_edit_address_modal_count_fields_in_row', 2 ); -
apply_filters( 'wpo_edit_address_modal_personal_fields_order', array('email', 'role', 'first_name', 'last_name' ) ); -
apply_filters( 'wpo_edit_address_readonly_fields', array() ); -
do_action( 'wpo_find_order' ); -
apply_filters( 'wpo_find_products_select_placeholder', __('Find products...', 'phone-orders-for-woocommerce') ); -
apply_filters( 'wpo_get_all_options', $this->options ); -
apply_filters( 'wpo_get_coupons_list_args', $args, $customer_id ); -
apply_filters( 'wpo_get_customer_by_array_data', $customer_data ); -
apply_filters( 'wpo_get_customer_by_type_and_id', false, $id, $type ); -
apply_filters( 'wpo_get_default_shipping_method_id', $default_shipping_method_id, $customer_id ); -
apply_filters( 'wpo_get_item_by_product', array( 'product_id' => $product_id, 'item_cost' => wc_format_decimal($item_cost, wc_get_price_decimals()), 'product_price_html' => $product->get_price_html(), 'variation_id' => $variation_id, 'variation_data' => $product_attributes, 'variable_data' => static::get_formatted_variable_data($product), 'custom_meta_fields' => isset($item_data['custom_meta_fields']) ? $item_data['custom_meta_fields']... ); -
apply_filters( 'wpo_get_option', $value, $key ); -
apply_filters( 'wpo_get_product_history_customer_list_orders_limit', 20 ); -
apply_filters( 'wpo_get_product_history_customer_list_products_limit', -1 ); -
apply_filters( 'wpo_get_shipping_methods', $new_shipping_methods ); -
apply_filters( 'wpo_gift_card_cards', array() ); -
apply_filters( 'wpo_gift_card_enabled', false ); -
apply_filters( 'wpo_gift_card_errors', array() ); -
do_action( 'wpo_gift_card_process_cards', $cart_data ); -
apply_filters( 'wpo_hide_cart_item_price', ! empty($item['wpo_hide_item_price']), $item ); -
do_action( 'wpo_include_core_classes' ); -
apply_filters( 'wpo_init_order_default_custom_fields_values', $custom_fields_options ); -
apply_filters( 'wpo_init_order_get_data', $state, $customer_id ); -
apply_filters( 'wpo_is_child_cart_item', false, $item ); -
apply_filters( 'wpo_is_valid_product', $this->get_is_valid_product($product), $product, $this->option_handler->get_all_options() ); -
apply_filters( 'wpo_load_custom_product', $product, $request ); -
do_action( 'wpo_load_order_before', $order_id, $mode === 'edit' ); -
apply_filters( 'wpo_load_order_cost_updated_manually', $cost_updated_manually, $_product, $item_data, $mode ); -
apply_filters( 'wpo_load_order_data', $result, $order, $mode === 'edit' ); -
apply_filters( 'wpo_load_order_loaded_product', $loaded_product, $order_item, $order, $mode === 'edit' ); -
apply_filters( 'wpo_load_order_private_note', $order->get_meta($this->meta_key_private_note, true), $order_id, $order ); -
apply_filters( 'wpo_load_order_skip_item', false, $order_item, $order ); -
apply_filters( 'wpo_load_sessions_table_headers', array( array( 'key' => 'customer', 'label' => __('Customer', 'phone-orders-for-woocommerce'), ), array( 'key' => 'cart_items', 'label' => __('Cart Items', 'phone-orders-for-woocommerce'), ), array( 'key' => 'address', 'label' => __('Address', 'phone-orders-for-woocommerce'), ), array( 'key' => 'date', 'label' => __('Date', 'phone-orders-for-woocommerce'), ), array( 'key' => 'actions', 'label' =... ); -
apply_filters( 'wpo_make_fake_email', $fake_email, $data ); -
apply_filters( 'wpo_make_order_payment_methods_list', $order_payment_methods_list ); -
do_action( 'wpo_order_created', wc_get_order($order_id), $data['cart'] ); -
apply_filters( 'wpo_order_currency_selector_container_header', __('Order currency', 'phone-orders-for-woocommerce') ); -
apply_filters( 'wpo_order_currency_selector_list_currencies', $order_currencies_list ); -
apply_filters( 'wpo_order_date_container_header', __('Order date', 'phone-orders-for-woocommerce') ); -
apply_filters( 'wpo_order_details_container_header', '<h2><span>' . __('Order %s details', 'phone-orders-for-woocommerce') . '</span></h2>' ); -
apply_filters( 'wpo_order_details_find_products_timeout_ms', $this->multiselect_search_delay ); -
apply_filters( 'wpo_order_details_open_view_order_in_same_tab', false ); -
apply_filters( 'wpo_order_history_customer_table_headers', array( array( 'key' => 'order_number', 'label' => __('Order number', 'phone-orders-for-woocommerce'), ), array( 'key' => 'date', 'label' => __('Date', 'phone-orders-for-woocommerce'), ), array( 'key' => 'items', 'label' => __('Items', 'phone-orders-for-woocommerce'), ), array( 'key' => 'status', 'label' => __('Status', 'phone-orders-for-woocommerce'), ), array( 'key' => 'payment_type', 'label' ... ); -
apply_filters( 'wpo_order_payment_method_container_header', __('Payment method', 'phone-orders-for-woocommerce') ); -
apply_filters( 'wpo_order_sidebar_custom_html', '' ); -
apply_filters( 'wpo_order_status_container_header', __('Order status', 'phone-orders-for-woocommerce') ); -
apply_filters( 'wpo_order_status_list_statuses', $order_statuses_list ); -
apply_filters( 'wpo_package_hash_from_order', $hash, $item_shipping, $order ); -
apply_filters( 'wpo_prepare_item', $item, $product ); -
apply_filters( 'wpo_process_cart_data_prepare', $cart_data ); -
apply_filters( 'wpo_product_before_get_item', $product, $item_data ); -
apply_filters( 'wpo_product_extra_col_value', '', $product, WC()->cart ); -
apply_filters( 'wpo_search_product_types', array('simple', 'variable', 'variation', 'subscription', 'grouped') ); -
apply_filters( 'wpo_search_products_and_variations_results', $result, $term ); -
apply_filters( 'wpo_send_custom_order_email', false, $order ); -
do_action( 'wpo_set_cart_customer', $cart_customer, $id, $customer_data ); -
apply_filters( 'wpo_set_original_price_after_calculation', false, $cart_item ); -
apply_filters( 'wpo_shipping_package_mod_strategy', new WC_Phone_Order_Shipping_Package_Mod_Strategy() ); -
apply_filters( 'wpo_show_tabs', $this->tabs ); -
apply_filters( 'wpo_skip_add_to_cart_item', ! empty($item['wpo_skip_item']), $item ); -
apply_filters( 'wpo_tab_data', array( 'findOrCreateCustomerSettings' => array( 'title' => __( 'Find or create a customer', 'phone-orders-for-woocommerce' ), 'titleOnlyFind' => __( 'Find a customer', 'phone-orders-for-woocommerce' ), 'createNewCustomerLabel' => __('New customer', 'phone-orders-for-woocommerce'), 'browseVisitorsLabel' => __('Browse visitors', 'phone-orders-for-woocommerce'), 'billingDetailsLabel' => __( 'Billi... ); -
apply_filters( 'wpo_update_cart_cart_item_meta', $cart_item_meta, $item, $cart_data['items'] ); -
apply_filters( 'wpo_update_cart_item', $item ); -
apply_filters( 'wpo_update_cart_item_cost', $item['item_cost'], $item ); -
apply_filters( 'wpo_update_cart_loaded_product', $item['loaded_product'], $item ); -
apply_filters( 'wpo_update_cart_set_cart_item_data_price', wc_format_decimal((string)$item['item_cost'], wc_get_price_decimals()) != wc_format_decimal( (string)$product->get_price(), wc_get_price_decimals() ), $item, $cart_item_key, WC()->cart ); -
apply_filters( 'wpo_update_cart_set_cart_item_data_set_price', $item['item_cost'], $item, $cart_item_key, WC()->cart ); -
apply_filters( 'wpo_update_cart_use_original_item', true, $cart_key ); -
apply_filters( 'wpo_update_customer_get_data', $data, $id ); -
apply_filters( 'wpo_view_invoice_url', add_query_arg(array('order_id' => '%order_id', 'nonce' => '%nonce'), get_home_url(null, 'wpo-view-invoice')), $order_id ); -
apply_filters( 'wpo_wc_get_products', $query_args );
Generated from Phone Orders 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: