Hooks and Filters
BuddyVendor exposes filters so developers can adjust labels, slugs, positions, and visibility without editing the plugin. All filters below are confirmed in the plugin source.
Activation and integration filters
Section titled “Activation and integration filters”buddyvendor_is_{type}_activate
Section titled “buddyvendor_is_{type}_activate”Filters whether a marketplace is treated as active, where {type} is one of dokan, wcvendor, wcfm, or wcpv. Receives a boolean. Use it to force an integration on or off.
add_filter( 'buddyvendor_is_dokan_activate', '__return_true' );Vendor Products tab filters
Section titled “Vendor Products tab filters”Each marketplace exposes its own label, slug, and position filters. Replace the prefix with the marketplace: dokan, wcvendors, wcfm, or wcpv.
buddyvendor_{marketplace}_vendor_tab_lable- filter the Products tab label.buddyvendor_{marketplace}_vendor_tab_slug- filter the Products tab URL slug.buddyvendor_{marketplace}_vendor_tab_position- filter the Products tab menu position.
For example, for Dokan: buddyvendor_dokan_vendor_tab_lable, buddyvendor_dokan_vendor_tab_slug, buddyvendor_dokan_vendor_tab_position.
Favorite Products tab filters
Section titled “Favorite Products tab filters”buddyvendor_favourite_tab_lable- filter the Favorites tab label.buddyvendor_favourite_tab_slug- filter the Favorites tab URL slug.buddyvendor_favourite_tab_position- filter the Favorites tab menu position.buddyvendor_favorite_products_per_page- filter how many favorites show per page (default 10).
Activity filters
Section titled “Activity filters”buddyvendor_product_activity_action- filter the sprintf template used for product creation and review activity action text.buddyvendor_activity_action_product_create- filter the rendered “posted a new product” action string.buddyvendor_activity_action_product_review- filter the rendered “reviewed” action string.
Message Vendor button filters (Dokan)
Section titled “Message Vendor button filters (Dokan)”buddyvendor_dokan_show_message_button- return false to suppress the Message Vendor button. Receives( bool $show, int $vendor_id, object $store_user_data, array $store_info ).buddyvendor_dokan_message_button_label- filter the button label. Receives( string $label, int $vendor_id ).
Settings filter
Section titled “Settings filter”buddyvendor_plugin_settings_array- filter the admin settings tab structure to add or modify tabs. Receives the associative array of tab definitions (tab name, option group, option name, callback).
Embeds filter
Section titled “Embeds filter”BuddyVendor hooks WordPress oEmbed autoembedding into BuddyPress activity via the bp_autoembed filter, so URLs on their own line in activity content are embedded.
Notes for extenders
Section titled “Notes for extenders”- The core order-activity handler is only registered for logged-in users at load time.
- The Message Vendor button is registered only for the Dokan integration; other marketplaces do not add it.

