Add multiple vendor tabs
-
I used this provided snippet. it works but only allows me to add one tab. I am attempting to add multiple tabs to no prevail. adding a 2nd snippet replaces the original, im stuck
add_filter('dokan_store_tabs', function($tabs, $store_id) { $tabs['new-tab'] = array( 'title' => __( 'New Tab', 'dokan' ), 'url' => dokan_get_store_url( $store_id ) ); return $tabs; }, 100, 2);
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Add multiple vendor tabs’ is closed to new replies.