Reputation: 417
where should I search for the title
in the head
of a Wordpress plugin?
I want to change the title that is located in the head of the admin panel of Wordpress. The plugin has it's own page title that is the name of the plugin and I want to change it to another language.
If it is stored in a function, where should I look for it?
Upvotes: 1
Views: 146
Reputation: 427
Since you cleared up that you want to change the name of the page, please try to locate the code that looks like this:
add_submenu_page( string $parent_slug, string $page_title, string $menu_title, string $capability, string $menu_slug, callable $function = '' );
You can change the $page_title variable of the page who's title you want to change. There could be multiple such functions.
I understand you might have to go through multiple files in your plugin folder but different developers work differently. Some put everything in one file, some more categorically. Let me know if it works.
Upvotes: 1
Reputation: 35
I hope below helps:
How rename a plugin title > Wordpress > Dashboard
Please check once.
Thanks
Upvotes: 0