Skip to content

Change hook for clearing cache #28

@GaryJones

Description

@GaryJones

Currently, we hook to post_updated for clearing caches. I've been having trouble with this working (not fully investigated yet), but wondered if we could use save_post hook instead. Presumably, this fires once the Update button is pushed, not after checking to see if some title, content, custom field etc. fields have actually changed? (If not save_post, then some similar pre_* hook instead?)

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions