BuddyPress Integration for WooCommerce 3.6.6 has 46 actions and 69 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 BuddyPress Integration for WooCommerce fires an action
add_action( 'woocommerce_account_content', function() {
// Your code runs here.
}, 10, 1 );
// Change a value BuddyPress Integration for WooCommerce is about to use
add_filter( 'wc4bp_billing_group_id', 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.
Changes by version
3.6.4 → 3.6.5 · Nov 19, 2026 · 3 added, 0 removed
Added
All hooks
-
/** * Get the String ID used to identify Billing Group ID used in BuddyPress */ apply_filters( 'wc4bp_billing_group_id', 'billing' ); -
/** * Get the String ID used to identify Shipping Group ID used in BuddyPress */ apply_filters( 'wc4bp_shipping_group_id', 'shipping' ); -
/** * Determinate if the activity stream is enabled. */ apply_filters( 'wc4bp_activate_stream_activity', true ); -
/** * My Account content. */ do_action( 'woocommerce_account_content' ); -
/** * My Account dashboard. */ do_action( 'woocommerce_account_dashboard' ); -
/** * Deprecated woocommerce_after_my_account action. */ do_action( 'woocommerce_after_my_account' ); -
/** * Deprecated woocommerce_before_my_account action. */ do_action( 'woocommerce_before_my_account' ); -
/** * Page slug */ apply_filters( 'editable_slug', $attached_page['tab_slug'], get_post( $attached_page['page_id'] ) ); -
/** * Fires when the bulk upgrader process is complete. */ do_action( 'upgrader_process_complete', $this, array( 'action' => 'install', 'type' => 'plugin', 'bulk' => true, 'plugins' => $plugins, ) ); -
/** * WooCommerce Endpoint. */ apply_filters( 'wc4bp_add_endpoint', $end_points ); -
/** * Add more endpoint to avoid the rewrite of the url for the plugin */ apply_filters( 'wc4bp_avoid_woo_endpoints', array( 'order-pay' ) ); -
/** * Change the checkout url */ apply_filters( 'wc4bp_checkout_page_link', $checkout_url ); -
/** * Execute on freemius load to notify the addons */ do_action( 'wc4bp_core_fs_loaded' ); -
/** * Decide whether a completed order gets a purchase activity. */ apply_filters( 'wc4bp_create_purchase_activity', $create, $order ); -
/** * Define the custom page template to load the tabs */ apply_filters( 'wc4bp_custom_page_template', '' ); -
/** * Filter where the profile Checkout sends members when the cart is empty. */ apply_filters( 'wc4bp_empty_checkout_redirect', $cart_url ); -
/** * Debug prefix. */ apply_filters( 'wc4bp_exception_prefix', 'wc4bp' ); -
/** * Change the redirection link */ apply_filters( 'wc4bp_get_redirect_link', $link ); -
/** * Filter the template path. */ apply_filters( 'wc4bp_load_template_path', $path, $this->template_directory ); -
/** * Change the user who wrote the comment */ apply_filters( 'wc4bp_loader_review_activity_user_id', $comment_data->user_id ); -
/** * Filter the path to the directory of the templates. */ apply_filters( 'wc4bp_members_get_template_directory', constant( 'WC4BP_ABSPATH_TEMPLATE_PATH' ) ); -
/** * Filter the founded template. */ apply_filters( 'wc4bp_members_load_template_filter_founded', $found_template ); -
/** * Change the Argument for the wp_query to get the current page to show inside * a tab */ apply_filters( 'wc4bp_members_plugin_template_query', $args ); -
/** * After update user settings */ do_action( 'wc4bp_post_update_user_settings', bp_displayed_user_id(), $wc4bp_values ); -
/** * Before update user settings */ do_action( 'wc4bp_pre_update_user_settings', bp_displayed_user_id(), $wc4bp_values ); -
/** * New activity register */ do_action( 'wc4bp_register_activity_actions' ); -
/** * Restrict content String. */ apply_filters( 'wc4bp_restrict_message', __( 'Sorry this page is only for logging users!', 'wc4bp' ) ); -
/** * Change the route of the link */ apply_filters( 'wc4bp_router_link', $link ); -
/** * Setting screen for Activity Stream executed */ do_action( 'wc4bp_screen_notification_activity_settings' ); -
/** * Start the setting for the setting screen */ do_action( 'wc4bp_screen_settings' ); -
/** * Get the store slug to use in the url */ apply_filters( 'wc4bp_shop_slug', $slug ); -
/** * Modify the string to insert into the BuddyPress Activity Stream on Order * Complete */ apply_filters( 'wc4bp_stream_order_complete', sprintf( __( '%1$s purchased %2$s', 'wc4bp' ), $user_link, implode( ', ', $names ) ), $order->get_user_id(), $order, $items, 'order_complete' ); -
/** * Modify the string to insert into the BuddyPress Activity Stream on Product * Review */ apply_filters( 'wc4bp_stream_product_review', sprintf( __( '%1$s wrote a review about <a href="%2$s">%3$s</a>', 'wc4bp' ), $user_link, get_permalink( $comment_data->comment_post_ID ), $product->post_title ), $user_id, $comment_data, $product, 'product_review' ); -
/** * Change the path the screen */ apply_filters( 'wc4bp_template_member_cart', 'shop/member/cart' ); -
/** * Change the path the screen */ apply_filters( 'wc4bp_template_member_checkout', 'shop/member/checkout' ); -
/** * Change the path the screen */ apply_filters( 'wc4bp_template_member_download', 'shop/member/download' ); -
/** * Change the path the screen */ apply_filters( 'wc4bp_template_member_edit_account', 'shop/member/edit-account' ); -
/** * Change the path the screen */ apply_filters( 'wc4bp_template_member_edit_address', 'shop/member/edit-address' ); -
/** * Change the path the screen */ apply_filters( 'wc4bp_template_member_extra_content', 'shop/member/extra-content' ); -
/** * Change the path the screen */ apply_filters( 'wc4bp_template_member_history', 'shop/member/history' ); -
/** * Change the path the screen */ apply_filters( 'wc4bp_template_member_order', 'shop/member/orders' ); -
/** * Change the path the screen */ apply_filters( 'wc4bp_template_member_payment_methods', 'shop/member/payment-methods' ); -
/** * Change the path the screen */ apply_filters( 'wc4bp_template_member_track', 'shop/member/track' ); -
/** * Fires after each specific row in the TGMPA Plugins list table. */ do_action( "wc4bp_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( 'wc4bp_tgmpa_load', ( is_admin() && ! defined( 'DOING_AJAX' ) ) ); -
/** * Filter a sanitized key string. */ apply_filters( 'wc4bp_tgmpa_sanitize_key', $key, $raw_key ); -
/** * Filter the list of action links available following bulk plugin * installs/updates. */ apply_filters( 'wc4bp_tgmpa_update_bulk_plugins_complete_actions', $update_actions, $this->plugin_info ); -
/** * Filter the endpoint shortcodes to handle woocommerce my account individual * tabs. */ apply_filters( 'wc4bp_woocommerce_endpoint_key_content', array( 'orders' => array( $this, 'wc4bp_my_account_process_shortcode_orders' ), 'downloads' => array( $this, 'wc4bp_my_account_process_shortcode_downloads' ), 'edit-address' => array( $this, 'wc4bp_my_account_process_shortcode_edit_address' ), 'payment-methods' => array( $this, 'wc4bp_my_account_process_shortcode_payment_methods' ), 'edit-account' => array( $this, 'wc4bp_my_account_process_shor... ); -
/** * Change WooCommerce customer meta fields */ apply_filters( 'woocommerce_customer_meta_fields', array( 'billing' => array( 'title' => __( 'Customer Billing Address', 'wc4bp' ), 'fields' => array( 'billing_first_name' => array( 'label' => __( 'First Name', 'wc4bp' ), 'description' => '', ), 'billing_last_name' => array( 'label' => __( 'Last Name', 'wc4bp' ), 'description' => '', ), 'billing_company' => array( 'label' => __( 'Company', 'wc4bp' ), 'description' => '', ), 'billing_address_1' ... ); -
/** * Execute the action from woo to view the order details */ do_action( 'woocommerce_view_order', $bp->action_variables[1] ); -
apply_filters( 'wc4bp_xprofile_visibility', $visibility_level_param, $field_id ); -
apply_filters( 'wc4bp_xprofile_visibility_by_user', $visibility_level, $field_id, $user_id ); -
apply_filters( 'active_plugins', get_option( 'active_plugins' ) ); -
apply_filters( 'bp_add_template_stack_locations', array_unique( $retval ), $stacks ); -
apply_filters( 'bp_get_template_locations', $locations, $templates ); -
apply_filters( 'bp_get_template_part', $templates, $slug, $name ); -
apply_filters( 'bp_get_template_stack', $stack ); -
do_action( "get_template_part_{$slug}", $slug, $name ); -
apply_filters( 'tk_pricing_page_config', $defaults ); -
do_action( 'wc4bp_after_cart_body' ); -
do_action( 'wc4bp_after_checkout_body' ); -
do_action( 'wc4bp_after_downloads_body' ); -
do_action( 'wc4bp_after_edit_account_body' ); -
do_action( 'wc4bp_after_edit_address_body' ); -
do_action( 'wc4bp_after_extra_content_body' ); -
do_action( 'wc4bp_after_member_home_content' ); -
do_action( 'wc4bp_after_orders_body' ); -
do_action( 'wc4bp_after_payment_methods_body' ); -
do_action( 'wc4bp_after_track_body' ); -
do_action( 'wc4bp_after_track_heading' ); -
apply_filters( 'wc4bp_base_url_redirect', $base_url ); -
do_action( 'wc4bp_before_cart_body' ); -
do_action( 'wc4bp_before_checkout_body' ); -
do_action( 'wc4bp_before_downloads_body' ); -
do_action( 'wc4bp_before_edit_account_body' ); -
do_action( 'wc4bp_before_edit_address_body' ); -
do_action( 'wc4bp_before_extra_content_body' ); -
do_action( 'wc4bp_before_member_home_content' ); -
do_action( 'wc4bp_before_orders_body' ); -
do_action( 'wc4bp_before_payment_methods_body' ); -
do_action( 'wc4bp_before_track_body' ); -
apply_filters( 'wc4bp_endpoint_url', $url, $endpoint, $value, $permalink, $base_path ); -
apply_filters( 'wc4bp_get_settings_link', trailingslashit( bp_loggedin_user_domain() . bp_get_settings_slug() . '/' . wc4bp_Manager::get_shop_slug() ) ); -
do_action( 'wc4bp_init', $GLOBALS['wc4bp_loader'] ); -
apply_filters( 'wc4bp_load_template_filter', $filtered_templates[0] ); -
apply_filters( 'wc4bp_purchase_notification_batch_size', 500 ); -
do_action( 'wc4bp_redirection_check' ); -
apply_filters( 'wc4bp_screen_function', $screen_function, $id ); -
apply_filters( 'wc4bp_screen_settings', 'members/single/plugins' ); -
apply_filters( 'wc4bp_template_member_plugin', 'shop/member/plugin' ); -
apply_filters( "wc4bp_tgmpa_{$prefix}plugin_action_links", array_filter( $action_links ), $item['slug'], $item, $this->view_context ); -
do_action_ref_array( 'wc4bp_tgmpa_init', array( $this ) ); -
apply_filters( 'wc4bp_tgmpa_notice_action_links', $action_links ); -
apply_filters( 'wc4bp_tgmpa_notice_rendered_action_links', $action_links ); -
do_action( 'wc4bp_tgmpa_register' ); -
apply_filters( 'wc4bp_tgmpa_show_admin_notice_capability', 'publish_posts' ); -
apply_filters( 'wc4bp_tgmpa_table_columns', $columns ); -
apply_filters( 'wc4bp_tgmpa_table_data_item', $table_data[ $i ], $plugin ); -
apply_filters( 'wc4bp_tgmpa_table_data_items', $this->_gather_plugin_data() ); -
do_action( 'wc4bpbefore_member_body' ); -
do_action( 'wc4bpfter_member_body' ); -
apply_filters( 'woocommerce_cart_item_remove_link', sprintf( '<a href="%s" rel="nofollow" class="remove" aria-label="%s" data-product_id="%s" data-product_sku="%s" style="float:left;margin-right:5px">×</a>', esc_url( wc_get_cart_remove_url( $cart_item_key ) ), esc_attr__( 'Remove this item', 'wc4bp' ), esc_attr( $cart_item['product_id'] ), esc_attr( $cart_item_key ), esc_attr( $cart_item['data']->get_sku() ) ), $cart_item_key ); -
woocommerce_shortcode_order_tracking_order_id
filter Used by 42 plugins → Copy link Customise this hookapply_filters( 'woocommerce_shortcode_order_tracking_order_id', $order_id ); -
do_action( 'woocommerce_track_order', $current_order->get_id() ); -
apply_filters( 'wp_plugin_status_append_js', '' ); -
apply_filters( 'wp_plugin_status_data', array( 'WordPress environment' => array( 'home_url' => get_option( 'home' ), 'site_url' => get_option( 'siteurl' ), 'wp_version' => get_bloginfo( 'version' ), 'wp_multisite' => is_multisite(), 'wp_memory_limit' => $wp_memory_limit, 'wp_debug_mode' => ( defined( 'WP_DEBUG' ) && WP_DEBUG ), 'wp_cron' => ! ( defined( 'DISABLE_WP_CRON' ) && DISABLE_WP_CRON ), 'language' => get_locale(), 'server_inf... ); -
apply_filters( 'wp_plugin_status_header_append_html', $this->export_html( $section_key ), $section_key ); -
apply_filters( 'wp_plugin_status_view_description', 'This is the basic information from your system' ); -
apply_filters( 'wp_plugin_status_view_values', array( 'key' => $key, 'value' => $value, ) );
Generated from BuddyPress Integration 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: