Stop automatically deleting tags

Hi There,

Is there a way to stop tags being deleted when not in use?
I want to set my own tags, cca 20 - 30 (users won’t be able to add any more), so there is no risk of having database overflooded. Is there any snippet which can be used? I haven’t found any.



Please try this PHP snippet (How to add custom code snippets - HivePress Help Center):

remove_action( 'hivepress/v1/events/hourly', [ hivepress()->tag, 'delete_empty_tags' ] );

Please note that you may require additional customizations in the future.

Thank you Andrii, looks like it works well.