Is there a Filter that I can use to filter the tags before they are inserted in to the database? June 7, 2022 by Tarik Billa A good thing – as always – is the Action Reference. You could count the terms from the $post data on pre_post_update.