Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Support Rank Math Support

    (@rankmathteam)

    Hello @extremist87,

    Thank you for contacting the support.

    Sometimes users can remove the plugin due to some issue or debugging process and that’s why this option is not added to the plugin by default. The data remains in the database to make sure when you install the plugin again, you don’t have to set it up from scratch.

    For the users who want to completely uninstall the plugin and its data, we have provided a filter as it is the safest way to prevent the unwanted removal of the data of the plugin. You can remove the filter once you have uninstalled the plugin.

    Hope this clarifies your doubts. Please don’t hesitate to get in touch in case you need our assistance with anything else.

    Thread Starter hurry

    (@extremist87)

    actually you should put tick box upton deleting or deactivating the plugin which allows the user to remove all garbage data.

    I dont know what you mean by filter.

    Plugin Support Rank Math Support

    (@rankmathteam)

    Hello @extremist87,

    You’ll just need to add the following filter, as mentioned in the KB you shared:
    add_filter( 'rank_math_clear_data_on_uninstall', '__return_true' );

    After that, all your Rank Math data should be erased from your database. This will work the same as the tick box you’re referring to.

    The filter is for one-time usage. You can safely remove the filter after removing all of the Rank Math data.

    Here is how you can add a filter to your website:
    https://rankmath.com/kb/filters-hooks-api-developer/#change-remove-breadcrumb-items.

    Hope that helps.

    Thread Starter hurry

    (@extremist87)

    yes i realise you can modify functions.php code to do that, but why not just add a tick box at plugin deactivate / removal ?

    Plugin Support Rank Math Support

    (@rankmathteam)

    Hello @extremist87

    Sorry to disappoint, but that feature is unfortunately not available at this time.

    With that being said, there are existing feature requests, so we’ve added your vote to our internal suggestions lists. We’ll be sure to let you know if your suggestions are something we can introduce.

    If there is anything else we can help you with, please let us know. Thank you.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘rank math bloat data not being removed on uninstall’ is closed to new replies.