• You MUST read the Babiato Rules before making your first post otherwise you may get permanent warning points or a permanent Ban.

    Our resources on Babiato Forum are CLEAN and SAFE. So you can use them for development and testing purposes. If your are on Windows and have an antivirus that alerts you about a possible infection: Know it's a false positive because all scripts are double checked by our experts. We advise you to add Babiato to trusted sites/sources or disable your antivirus momentarily while downloading a resource. "Enjoy your presence on Babiato"

How remove the item "License" from Dashboard ?

Toje

Active member
Babiato Lover
Sep 10, 2020
146
34
28
re.png


Hello together,

how i remove the Item "License" from Plugin ?


Best regards
 
Use snippet in functions.php, so you can update plugin and dont need to remove "license" menu again.

Maybe this:


PHP:
add_action( 'admin_init', 'wpse_136058_remove_menu_pages' );
function wpse_136058_remove_menu_pages() {
remove_menu_page( 'PLUGIN-LICENSE-SLUG' );
}
 

Use snippet in functions.php, so you can update plugin and dont need to remove "license" menu again.

Maybe this:


PHP:
add_action( 'admin_init', 'wpse_136058_remove_menu_pages' );
function wpse_136058_remove_menu_pages() {
remove_menu_page( 'PLUGIN-LICENSE-SLUG' );
}
I dont know it's works but this way is safest method rather than removing lines in plugin file. You need to find only "licence page slug"
 
  • Like
Reactions: Toje and Taekiwz
exact and i write in my first Posting, that i search it in the Plugin = D
But why? By doing it in the Plugin it means that anytime you update the Plugin, it needs doing again.

The other way (if it works) would be permanent! :)
 
  • Like
Reactions: Taekiwz
AdBlock Detected

We get it, advertisements are annoying!

However in order to keep our huge array of resources free of charge we need to generate income from ads so to use the site you will need to turn off your adblocker.

If you'd like to have an ad free experience you can become a Babiato Lover by donating as little as $5 per month. Click on the Donate menu tab for more info.

I've Disabled AdBlock