FriendStore for WooCommerce 1.6.0 has 11 actions and 27 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 FriendStore for WooCommerce fires an action
add_action( 'fsw_after_template_part', function( $template_name, $template_path, $located, $args ) {
// Your code runs here.
}, 10, 4 );
// Change a value FriendStore for WooCommerce is about to use
add_filter( 'active_plugins', function( $option ) {
// Change $option here.
return $option;
}, 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
-
apply_filters( 'active_plugins', get_option('active_plugins', array()) ); -
woocommerce_cart_no_shipping_available_html
filter Used by 27 plugins → Copy link Customise this hookapply_filters( 'woocommerce_cart_no_shipping_available_html', sprintf(wcl10n__('No shipping options were found for %s.', 'woocommerce', 'html') . ' ', '<strong>' . esc_html($formatted_destination) . '</strong>') ); -
apply_filters( 'woocommerce_no_shipping_available_html', wcl10n__('There are no shipping options available. Please ensure that your address has been entered correctly, or contact us if you need any help.', 'woocommerce', 'html') ); -
woocommerce_shipping_may_be_available_html
filter Used by 29 plugins → Copy link Customise this hookapply_filters( 'woocommerce_shipping_may_be_available_html', wcl10n__('Enter your address to view shipping options.', 'woocommerce', 'html') ); -
apply_filters( 'fsw_address_model', $model ); -
do_action( 'fsw_after_template_part', $template_name, $template_path, $located, $args ); -
do_action( 'fsw_before_template_part', $template_name, $template_path, $located, $args ); -
apply_filters( 'fsw_formatted_address', WC()->countries->get_formatted_address($address), $address ); -
apply_filters( 'fsw_freeship_rate_applies', true, $rate, $package ); -
apply_filters( 'fsw_get_template', $located, $template_name, $args, $template_path, $default_path ); -
do_action( 'fsw_loaded' ); -
apply_filters( 'fsw_locate_template', $template, $template_name, $template_path ); -
apply_filters( 'fsw_number_format_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(), ) ) ); -
do_action( 'fsw_product_after_shipping_calculator' ); -
do_action( 'fsw_product_before_shipping_calculator' ); -
apply_filters( 'fsw_product_calculate_shipping_address', $address ); -
do_action( 'fsw_product_calculated_shipping' ); -
apply_filters( 'fsw_product_shipping_calculator_auto', $product_shipping_calculator_auto ); -
apply_filters( 'fsw_product_shipping_calculator_enabled', $enabled ); -
apply_filters( 'fsw_profile_shipping_fields', FoW_Ultility::get_address_fields('shipping', $fields, $country) ); -
apply_filters( 'fsw_store_address_settings', $store_settings ); -
apply_filters( 'fsw_use_v2025_address', 'v2025' === $model ); -
apply_filters( 'fsw_user_addresses_enabled', $enabled ); -
apply_filters( 'plugin_locale', get_locale(), 'friendstore-for-woocommerce' ); -
apply_filters( 'wc_ms_default_user_address', $default_address ); -
apply_filters( "woocommerce_admin_{$type}_fields", $fields, false, 'edit' ); -
woocommerce_after_save_address_validation
action Used by 6 plugins → Copy link Customise this hookdo_action( 'woocommerce_after_save_address_validation', $user_id, $load_address, $address ); -
do_action( 'woocommerce_after_shipping_calculator' ); -
do_action( 'woocommerce_after_shipping_rate', $method, $index ); -
do_action( 'woocommerce_before_shipping_calculator' ); -
do_action( 'woocommerce_customer_save_address', $user_id, $load_address ); -
apply_filters( 'woocommerce_price_trim_zeros', false ); -
apply_filters( "woocommerce_process_myaccount_field_{$key}", $_POST[ $key ] ); -
woocommerce_shipping_calculator_enable_city
filter Used by 12 plugins → Copy link Customise this hookapply_filters( 'woocommerce_shipping_calculator_enable_city', true ); -
woocommerce_shipping_calculator_enable_country
filter Used by 10 plugins → Copy link Customise this hookapply_filters( 'woocommerce_shipping_calculator_enable_country', true ); -
woocommerce_shipping_calculator_enable_postcode
filter Used by 15 plugins → Copy link Customise this hookapply_filters( 'woocommerce_shipping_calculator_enable_postcode', true ); -
woocommerce_shipping_calculator_enable_state
filter Used by 10 plugins → Copy link Customise this hookapply_filters( 'woocommerce_shipping_calculator_enable_state', true ); -
apply_filters( 'woocommerce_shipping_estimate_html', wcl10n__('Shipping options will be updated during checkout.', 'woocommerce') );
Generated from FriendStore 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: