By Stephen Walker

If you are a user of RankMath, I suspect you have encountered the annoying notification when you delete an item that is prompting you to set a redirect after you have deleted content. In and of itself, it is actually quite useful, but it doesn’t go away if you close it. Here is a quick code snippet that you can use to get rid of it.

<?php
add_action( 'init', function() {
	RankMath\Helper::remove_notification( 'auto_post_redirection' );
});

Originally published on September 3, 2022

share the article

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

RELATED ARTICLES

  • ScriptsOrganizer and Avada

    I had previously written about the plugin ScriptsOrganizer from DPlugins, but the recent update (3.4.2) makes it ideal for customizing Avada. The latest addition makes it possible to ingest all the CSS variables and makes them available for reference.

  • Plugin Possibilities – Webyx

    Thanks to Jamie Marsland for featuring a new plugin that allows for horizontally and vertically scrolling pages.

  • Remove dots under a required form label

    Ever been working on an Avada form, set the field to required, and then you start seeing spots? No, you're not seeing things.

  • List of Links

    I am working on a new project and recently discovered some great CSS features --- text-underline-position and text-decoration-thickness.

  • Border between columns

    Since Avada currently does not have border settings for small and medium screens, this was our workaround

  • Add Images to RSS

    By default, Avada does not include images in the RSS feed. This little bit of code in the function.php or your code snippet manager will take care of that.