WCFM 1.6.3 has 3 actions and 76 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 WCFM fires an action
add_action( 'woocommerce_rest_insert_customer', function( $user_data, $request, $arg3 ) {
// Your code runs here.
}, 10, 3 );
// Change a value WCFM is about to use
add_filter( 'wcfm_is_allow_booking_list', 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
-
/** * Filter the query arguments for a request. */ apply_filters( "wcfmapi_rest_{$this->post_type}_object_query", $args, $request ); -
/** * Filter the query arguments, before passing them to `get_terms()`. */ apply_filters( "woocommerce_rest_{$taxonomy}_query", $prepared_args, $request ); -
/** * Fires after a customer is created or updated via the REST API. */ do_action( 'woocommerce_rest_insert_customer', $user_data, $request, false ); -
apply_filters( "wcfmapi_rest_prepare_{$this->post_type}_object", $response, $booking_object, $request ); -
apply_filters( 'wcfm_is_allow_booking_list', true ); -
apply_filters( 'woocommerce_short_description', $product->get_short_description() ); -
apply_filters( 'wcfm_allow_view_customer_name', true ); -
apply_filters( 'wcfm_current_order_status', $data['status'], $data['id'] ); -
apply_filters( 'wcfm_is_allow_enquiry', true ); -
apply_filters( 'wcfm_is_allow_manage_order', true ); -
apply_filters( 'wcfmapi_allowed_roles_view_vendors', array('administrator', 'wcfm_vendor') ); -
apply_filters( 'wcfm_allow_view_customer_email', true ); -
apply_filters( 'wcfm_cancellation_policies_heading', __('Cancellation / Return / Exchange Policy', 'wc-frontend-manager') ); -
apply_filters( 'wcfm_current_vendor_id', get_current_user_id() ); -
apply_filters( 'wcfm_is_admin_fee_mode', false ); -
apply_filters( 'wcfm_is_allow_edit_products', true ); -
apply_filters( 'wcfm_is_allow_manage_products', true ); -
apply_filters( 'wcfm_is_allow_manage_review', true ); -
apply_filters( 'wcfm_is_allow_order_details', true ); -
apply_filters( 'wcfm_refund_policies_heading', __('Refund Policy', 'wc-frontend-manager') ); -
apply_filters( 'wcfm_shipping_policies_heading', __('Shipping Policy', 'wc-frontend-manager') ); -
apply_filters( "wcfmapi_rest_prepare_{$this->post_type}_objects", $response, $bookings, $request ); -
apply_filters( 'wcfmapi_rest_prepare_vendor_settings_object', $response, $request ); -
apply_filters( 'wcfmmp_is_allow_sold_by', true, $vendor_id ); -
apply_filters( 'wcfmmp_store_default_banner', $default_banner ); -
apply_filters( 'plugin_locale', $locale, 'wcfm-marketplace-rest-api' ); -
apply_filters( 'query_vars', $wp->public_query_vars ); -
apply_filters( 'wc_product_enable_dimensions_display', $object->has_weight() || $object->has_dimensions() ); -
apply_filters( 'wcfm_allow_customer_shipping_details', true ); -
apply_filters( 'wcfm_allow_view_customer_phone', true ); -
apply_filters( 'wcfm_capability_options_rules', get_option( 'wcfm_capability_options', array() ) ); -
apply_filters( 'wcfm_delivery_boy_display', $wcfm_delivery_boy_user->first_name . ' ' . $wcfm_delivery_boy_user->last_name, $delivery_boy ); -
apply_filters( 'wcfm_editor_content_before_save', wp_kses_post( trim( stripslashes( $request['note'] ) ) ) ); -
apply_filters( 'wcfm_is_allow_add_products', true ); -
apply_filters( 'wcfm_is_allow_delete_products', true ); -
apply_filters( 'wcfm_is_allow_email_verification', true ); -
apply_filters( 'wcfm_is_allow_itemwise_notification', true ); -
apply_filters( 'wcfm_is_allow_order_note_attachments', true ); -
apply_filters( 'wcfm_is_allow_order_note_vendor_reference', true ); -
apply_filters( 'wcfm_is_allow_order_status_update', true ); -
apply_filters( 'wcfm_is_allow_orders', true ); -
apply_filters( 'wcfm_is_allow_product_policies', true ); -
apply_filters( 'wcfm_is_allow_reports', true ); -
wcfm_is_allow_shipping_processing_time_info
filter Used by 2 plugins → Copy link Customise this hookapply_filters( 'wcfm_is_allow_shipping_processing_time_info', true ); -
apply_filters( 'wcfm_is_allow_shipping_tracking', true ); -
apply_filters( 'wcfm_is_allow_store_location_to_delivery_boys', true ); -
apply_filters( 'wcfm_is_allow_store_shipping', true ); -
apply_filters( 'wcfm_is_allow_support', true ); -
apply_filters( 'wcfm_is_force_shipping_address', false ); -
apply_filters( 'wcfm_is_pref_policies', true ); -
apply_filters( 'wcfm_is_pref_shipment_tracking', true ); -
apply_filters( 'wcfm_is_pref_vendor_reviews', true ); -
apply_filters( 'wcfm_order_by_user', $username, $the_order->get_id() ); -
apply_filters( 'wcfm_order_note_before_save', $note, $request ); -
apply_filters( 'wcfm_order_notes_args', $args ); -
apply_filters( 'wcfm_shipment_disable_order_status', array( 'failed', 'cancelled', 'refunded', 'pending' ) ); -
apply_filters( 'wcfm_valid_line_items', $line_items, $order->get_id() ); -
apply_filters( 'wcfmapi_class_map', array( 'product' => 'WCFM_REST_Product_Controller', 'product-attribute' => 'WCFM_REST_Product_Attribute_Controller', 'product-categories' => 'WCFM_REST_Product_Categories_Controller', 'order' => 'WCFM_REST_Order_Controller', 'settings' => 'WCFM_REST_Settings_Controller', 'capabilities' => 'WCFM_REST_Capabilities_Controller', 'notification' => 'WCFM_REST_Notification_Controller', 'booking' => 'W... ); -
do_action( "wcfmapi_rest_delete_{$this->post_type}_object", $object, $response, $request ); -
apply_filters( "wcfmapi_rest_pre_insert_{$this->post_type}_object", $map_product_form_data_with_request, $request, $creating ); -
apply_filters( 'wcfmapi_rest_prepare_customer_app_settings_object', $response, $request ); -
apply_filters( 'wcfmapi_rest_prepare_product_variation_object', $response, $object, $request ); -
apply_filters( 'wcfmapi_rest_prepare_store_vendor_object', $this->get_formatted_item_data( $request['id'] ), $request ); -
wcfmapi_rest_prepare_store_vendors_objects
filter Used by 2 plugins → Copy link Customise this hookapply_filters( 'wcfmapi_rest_prepare_store_vendors_objects', $response, $request ); -
apply_filters( 'wcfmapi_rest_prepare_vendor_capability_object', $response, $request ); -
apply_filters( "wcfmapi_rest_query_var-{$var}", $prepared_args[ $var ] ); -
apply_filters( 'wcfmapi_rest_query_vars', $valid_vars ); -
apply_filters( 'wcfmcap_is_allow_enquiry_reply_view', true ); -
do_action( 'wcfmmp_add_shipping_package_meta_data', $slug, $package, $item ); -
apply_filters( 'wcfmmp_is_allow_local_pickup_address', true ); -
apply_filters( 'wcfmmp_list_store_default_bannar', $list_banner ); -
apply_filters( 'wcfmmp_store_about', apply_filters( 'woocommerce_short_description', $store_user->get_shop_description() ), $store_user->get_shop_description() ); -
apply_filters( 'wcfmmp_store_default_logo', $WCFM->plugin_url . 'assets/images/wcfmmp.png' ); -
apply_filters( 'wcfmmp_vendor_list_exclude_search_keys', array( 'v', 'search_term', 'wcfmmp_store_search', 'wcfmmp_store_category', 'wcfmmp_radius_addr', 'wcfmmp_radius_lat', 'wcfmmp_radius_lng', 'wcfmmp_radius_range', 'excludes', 'orderby', 'lang' ) ); -
apply_filters( 'woocommerce_admin_order_item_thumbnail', $_product->get_image( 'thumbnail', array( 'title' => '' ), false ), $data['id'], $item ); -
apply_filters( "woocommerce_rest_prepare_{$this->taxonomy}", $response, $item, $request ); -
woocommerce_rest_suppress_image_upload_error
filter Used by 8 plugins → Copy link Customise this hookapply_filters( 'woocommerce_rest_suppress_image_upload_error', false, $upload, $product->get_id(), $images ); -
woocommerce_shipping_package_details_array
filter Used by 18 plugins → Copy link Customise this hookapply_filters( 'woocommerce_shipping_package_details_array', $product_names, $package ); -
apply_filters( 'woocommerce_shipping_package_name', ( ( $i + 1 ) > 1 ) ? sprintf( _x( 'Shipping %d', 'shipping packages', 'woocommerce' ), ( $i + 1 ) ) : _x( 'Shipping', 'shipping packages', 'woocommerce' ), $i, $package );
Generated from WCFM'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: