Hooks and Filters
This reference lists the actions and filters the addon fires. Every entry is verified against the plugin source. WordPress core and WC Vendors hooks that the addon only listens to are not repeated here.
Actions fired
Section titled “Actions fired”These fire around the store header. Use them to inject markup.
| Action | Arguments | Fired in |
|---|---|---|
reign_wc_vendors_before_main_header |
$vendor_id |
Before the header template on vendor and product pages. |
reign_wc_vendors_after_main_header |
$vendor_id |
After the header template. |
reign_wc_vendors_before_vendor_store_header |
none | Top of the header template. |
reign_wc_vendors_after_vendor_store_header |
none | Bottom of the header template. |
wcv_before_vendor_store_title / wcv_after_vendor_store_title |
none | Around the store name. |
wcv_before_vendor_store_rating / wcv_after_vendor_store_rating |
none | Around the rating block. |
wcv_before_vendor_store_description / wcv_after_vendor_store_description |
none | Around the description and website. |
wcvendors_before_header_meta_phone / wcvendors_after_header_meta_phone |
none | Around the phone block. |
wcvendors_before_header_meta_address / wcvendors_after_header_meta_address |
none | Around the address block. |
wcvendors_before_header_meta_sales / wcvendors_after_header_meta_sales |
none | Around the total-sales block. |
wcvendors_before_header_store_icon / wcvendors_after_header_store_icon |
none | Around the social block. |
Filters
Section titled “Filters”Store data
Section titled “Store data”| Filter | Arguments | Purpose |
|---|---|---|
reign_wc_vendors_format_store_address_args |
$args, $vendor_id |
The address parts array before it is joined. |
reign_wc_vendors_format_store_address_output |
$string, $vendor_id |
The final joined address string. |
reign_wc_vendors_format_store_url |
$html, $vendor_id |
The store website link markup. |
reign_wc_vendors_shop_description_limit |
$chars (default 350) |
The description character limit before trimming. |
reign_wc_vendors_get_social_media_settings |
$settings |
The social platforms map (id, label, icon, URL template). |
Sales count
Section titled “Sales count”| Filter | Arguments | Purpose |
|---|---|---|
rwcv_store_total_sales_count |
$count, $vendor_id |
The total-sales value shown in the profile and shop-owner widgets (WC Vendors Pro path). |
reign_wcvendors_valid_order_statuses |
$statuses |
Order statuses counted by the free-version sales count. Default: wc-completed, wc-processing, wc-on-hold. |
Widgets and hours
Section titled “Widgets and hours”| Filter | Arguments | Purpose |
|---|---|---|
wcv_vendor_total_args |
$args |
The WP_User_Query args for the vendor list widget. |
wcv_opening_hours_time_format |
$format |
The time format for opening hours in the profile widget. |
Template location
Section titled “Template location”| Filter | Arguments | Purpose |
|---|---|---|
reign_wc_vendors_locate_template |
$template, $template_name, $template_path |
The resolved template path in the helper reign_wc_vendors_locate_template(). Note: the primary header override uses WooCommerce’s woocommerce_locate_template filter (see Template overrides); this helper filter is a secondary path. |
Community tab filters
Section titled “Community tab filters”The community profile tabs expose filters for tab names, slugs, and per-page counts. Several of these carry legacy prefixes (reign_wcfm_*, reign_dokan_*) from earlier code. These names are part of the public API; treat them as stable.
BuddyPress and BuddyBoss:
reign_wcfm_favorite_product_tab_name,reign_wcfm_favorite_product_tab_slugreign_dokan_fav_product_bp_tab_posts_per_pagereign_wc_vendors_store_primary_bp_tab_name,reign_wc_vendors_store_primary_bp_tab_slugreign_wc_vendors_store_secondary_bp_tab_name,reign_wc_vendors_store_bp_tab_posts_per_pagereign_wc_vendors_wishlists_secondary_bp_tab_name(when a wishlist plugin adds a wishlists subtab)
PeepSo:
reign_wc_vendors_store_peepso_tab_name,reign_wc_vendors_store_peepso_tab_posts_per_pagereign_wcfm_favorite_product_peepso_tab_name,reign_wc_vendors_favorite_peepso_tab_posts_per_page
Activity text filters
Section titled “Activity text filters”reign_wcvendors_format_activity_action_product_createreign_wcvendors_format_activity_action_product_reviewreign_wcvendors_format_activity_action_order_create

