Clear Cache with Php Command?
-
What is the correct way to cause a wordpress widget to display the most up-to-date info? I am guessing that when the info changes the cache muse be cleared.
Here is an example of what I mean.
I have a wordpress widget that displays Hello <first name> <lastname>. It appears on every page. If the user edits their name, the widget still displays the old name until the breeze cache is cleared. (except if the user is an admin, then it seems this problem does not occur).
If I hook in this command into the routine that processes a user name change
breeze_clean_cache();
the function is not found and the php script dies.
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Clear Cache with Php Command?’ is closed to new replies.