Forums
-
- Forum
- Posts
-
- Installing BuddyPress
- 23,840
- How-to & Troubleshooting
- 129,887
- Creating & Extending
- 25,913
- Requests & Feedback
- 9,553
- Third Party Plugins
- 9,834
- Showcase
- 3,316
- Ideas
- 1,404
- Miscellaneous
- 9,183
-
You could use the setTimeout() JavaScript method for that:
function delay() {
id = window.setTimeout(rm, 500);
}
function rm() {
// Remove the notice from the DOM.
var e = document.getElementById("id_of_the_notice");
e.parentElement.removeChild(e);
}
Note:
500 (milliseconds) can be changed.id_of_the_notice must be changed