How to move or hide success message after plugin installed?
Question
I have a WP plugin that installs and activates other plugins using Plugin_Updater(). It works fine, but afterwards the success messages echo at the top of the admin page and hide behind the left admin menu sidebar. Is there a way I can move these messages to where they are not blocked or just prevent them from showing up so I can display my own message on refresh?
This is from the chrome dev tools:
<div class="wrap"><h1></h1><p>Downloading installation package from <span class="code">https://mywebsite.com/download-plugins/forgravity-fillablepdfs_2.3.3.zip</span>…</p>
<p>Unpacking the package…</p>
<p>Installing the plugin…</p>
<p>Plugin installed successfully.</p>
</div>
Hiding the .wrap
class also hides all of the content on the page since it’s also using the same class.
0
2 months
0 Answers
18 views
0
Leave an answer
You must login or register to add a new answer .