I am building some forms into a template that would change custom fields for a page on our company intranet. I would like to delete the cache whenever an administrator submits the form so that when the page reloads, it will show the new value of the custom field.
Is there a way to delete the cache from a php script? It looks like I could call
wp_cache_clean_expired from the php script, but I haven't found any documentation on using this function for that purpose.