Revalidate Tag Hook

amerta


amerta / Revalidate Tag Hook

Revalidate Tag Hook

Title

Revalidate Tag Hook

Description

This hook revalidates the tag page when a tag is published or updated, ensuring that users see the most up-to-date information when viewing tag pages. The hook is triggered after a change is made to a tag document and checks if the document's status is "published" before calling the revalidation function.

Variables