• Resolved loopforever

    (@loopforever)


    Hello,
    I want to remove this hook, but I cannot remove it because it is in the construct. Can you help me?
    …dokan-lite/includes/Dashboard/Templates/Settings.php

    add_action(‘init’, ‘remove_show_enable_seller_message’);
    function remove_show_enable_seller_message() {
    remove_action(‘dokan_settings_content_inside_before’, array (dokan()->Settings, ‘remove_show_enable_seller_message’));
    }

    Also, I would appreciate if you briefly explain how you wrote the class name. Because I am facing other similar problems.
    I’ve looked through your documents and there is no single answer. I don’t want to open topic again and again.
    Thanks.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Shafinoid

    (@shafinahmad01)

    Hi @loopforever

    Thank you for replying back

    I will not be able to provide this custom solution as per our support policy. But to use such constructed hooks you will need to look for Class or Instance.

    I can share a third-party similar solution which might help you out. Click here to check the solution.

    Have a nice day!

    Shafinoid

    (@shafinahmad01)

    Hello,
    I believe you are doing well,

    As you haven’t replied for a long, I’m considering that you have got the solution and I’m also resolving this topic.

    But feel free to create another one anytime.

    Stay Safe 🙂

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Remove hook defined in contruct’ is closed to new replies.