How to change plugin admin menu label?
-
Do you have anything that I can hook into in order to change the admin menu text that you’ve used for the plugin?
The current text, ‘FA Lite 3’, is not going to be usable for my client. When they see that in the admin menu they’re not going have any idea what that menu item actually refers to.
In the best interests of my client it needs to be changed to something like ‘Front Page Slider’.
I’ve tried the following string replace method but it doesn’t work.
add_filter('gettext', 'rename_admin_menu_items'); add_filter('ngettext', 'rename_admin_menu_items'); function rename_admin_menu_items( $menu ) { $menu = str_ireplace( 'FA Lite 3', 'Front Page Slider', $menu ); return $menu; }
Viewing 10 replies - 1 through 10 (of 10 total)
Viewing 10 replies - 1 through 10 (of 10 total)
- The topic ‘How to change plugin admin menu label?’ is closed to new replies.