• Resolved Jaime

    (@wilfredo1234)


    Help Show only for seller user role

    Please could you help me how I can hide the seller user role.


    add_action( 'woocommerce_after_account_navigation', 'custom_content_after_account_navigation' );
    function custom_content_after_account_navigation(){
    $html = '<h3>Sellers</h3>';
    $html.='<li><a href="link">become a seller</a></li>';
    echo $html;
    }

    Show content only for seller user role

Viewing 1 replies (of 1 total)
  • Hey there, @wilfredo1234! Thanks for contacting us. I’m happy to help you.

    While we can’t provide support for code customization as per our support policy, we do our best to offer advice and direct you to appropriate resources.

    You can visit the WooCommerce Facebook group or the #developers channel of the WooCommerce Community Slack. We’re lucky to have a great community of open-source developers for WooCommerce, and many of our developers hang out there too.

    Having said that, do you mind sharing more details regarding what exactly you want to hide? This way we can check if there are plugins that can help you achieve your goal without custom code.

    Looking forward to your reply.

    Have a wonderful day!

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.