Home / Admin / Add custom page to the vendor dashboard – custom menu link
Duplicate Snippet

Embed Snippet on Your Site

Add custom page to the vendor dashboard – custom menu link

Code Preview
php
<?php
add_filter( 'wcv_pro_dashboard_urls', 'custom_menu_link' );
function custom_menu_link( $pages ) {
$pages[ 'custom_link' ] = array(
        'slug' => 'http://yoursite.com/customlink/here',
        'label' => __('Custom Link', 'wcvendors-pro' ),
        'actions' => array()
);
return $pages;
}

Comments

Add a Comment