Categories

Friday, December 20, 2024
#919814419350 therichposts@gmail.com
wcfmWoocommerceWordpress

How to add new menu in WooCommerce Frontend Manage(wcfm) vendor dashboard section?

How to add new menu in WooCommerce Frontend Manage(wcfm) vendor dashboard section?

Hello guys how are you? Welcome back to my blog. Today in this post I will tell you, How to add new menu in WooCommerce Frontend Manage(wcfm) vendor dashboard section?

LIVE DEMO
How to add new menu in WooCommerce Frontend Manage(wcfm) vendor dashboard section?
How to add new menu in WooCommerce Frontend Manage(wcfm) vendor dashboard section?

Guys if you are new in WordPress or in WooCommerce then please check the below links for some good tutorials:

  1. WooCommerce Hooks
  2. WordPress Tricks
  3. WordPress Hooks
  4. WCFM

1. Guys here the working code snippet and you can add this inside your theme’s functions.php file:

add new menu to wcfm plugin wcfm menu

add_filter('wcfm_menus','ws_get_wcfm_menus', 30, 1);
function ws_get_wcfm_menus($wcfm_menus) {
$wcfm_menus['ws-storepep'] = array(
'label' => __( 'StorePep', 'whiteshop'),
'url' => get_wcfm_storepep_url(),
'icon' => 'fa-window-restore'
);
// errr_log('wcfm functions');
return $wcfm_menus;
}

I will appreciate that if you will tell your views for this post. Nothing matters if your views will be good or bad because with your views, I will make my next posts more good and helpful.

Jassa

Thanks

therichpost
the authortherichpost
Hello to all. Welcome to therichpost.com. Myself Ajay Malhotra and I am freelance full stack developer. I love coding. I know WordPress, Core php, Angularjs, Angular 19, MedusaJs, Next.js, Bootstrap 5, Nodejs, Laravel, Codeigniter, Shopify, Squarespace, jQuery, Google Map Api, Vuejs, Reactjs, Big commerce etc.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.