• Resolved roneisantos

    (@roneisantos)


    Hello,
    Adding or Removing URL’s in Dokan Dashboard in wedevs.com .

    1. HoW URL open NEW TAB?

    What need to add in code…

    function prefix_dokan_add_seller_nav( $urls ) {

    $urls[‘help’] = array(
    ‘title’ => __( ‘help’, ‘dokan’),
    ‘icon’ => ‘<i class=”fa fa-user”></i>’,
    ‘url’ => ‘www.google.com’,
    ‘pos’ => 197

    );
    return $urls;
    }
    add_filter( ‘dokan_get_dashboard_nav’, ‘prefix_dokan_add_seller_nav’ );

    Thanks you.

Viewing 1 replies (of 1 total)
  • Nazmul Hassan

    (@nazmulhassann20)

    Hello @roneisantos,

    Thanks for your ticket. Actually, it is not possible to insert the URL into the target through this array. We have added the LINK target static on the core plugin. You may need to modify the core file from where the filter is coming- dokan-lite/includes/template-tags.php file ??

Viewing 1 replies (of 1 total)
  • The topic ‘How menu link open new TAB?’ is closed to new replies.