Viewing 5 replies - 1 through 5 (of 5 total)
  • @andrewbakes

    You can unset the duplicated $tabs content
    before returning from the “my_custom_tab_in_um” function.

    You have the tabs listed in the “get_tabs” function at line 93 of class-account.php.

    You should never modify any UM core files
    because your changes will be lost at the next UM version update.

    • This reply was modified 3 years, 5 months ago by missveronica.
    • This reply was modified 3 years, 5 months ago by missveronica.
    Thread Starter andrewbakes

    (@andrewbakes)

    Yes, sure, I’m not going to edit class-account.php file, just tried to test. Are there any solution for the child theme’s function.php to remove the button?

    Plugin Contributor Champ Camba

    (@champsupertramp)

    Hi @andrewbakes

    Sorry for the late response.

    For now, you can only hide the button with CSS. Try using the browser’s inspect element to see the button ID/class.

    Regards,

    Plugin Contributor Champ Camba

    (@champsupertramp)

    Hi @andrewbakes

    Please feel free to re-open this thread by changing the Topic Status to ‘Not Resolved’ if any other questions come up and we’d be happy to help. ??

    Regards,

    Bit late to this, but you can set show_button to false:

    $tabs[800][‘mytab’][‘show_button’] = false;

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘How to remove button at the bottom of custom account tab?’ is closed to new replies.