wordpress show notice only on plugin page
- In your WordPress dashboard, navigate to the "Plugins" section.
- Find the plugin for which you want to display the notice only on the plugin page.
- Locate the plugin file in the plugins directory on your server using FTP or a file manager.
- Open the main file of the plugin in a code editor.
- Identify the function or code that displays the notice and wrap it in a conditional statement.
- Use the is_admin() function to check if the current page is the plugin page.
- Save the changes to the plugin file and upload it back to your server.
- Verify that the notice now only appears on the plugin page when you access it through the WordPress dashboard.