However, there doesn't seem to be any documentation on this function, the style of parameters it accepts, or how it handles the paths.
For example, does this also clear sub-paths and/or query variables? If using the above function, will /books-on-startups/recent/ and /books-on-startups/?sort=date both be cleared?
If not, does the function accept wildcard (*) arguments such as '/books-on-startups/*'?
Without that functionality it seems like the next best option would be to clear everything via the flush_site function.
There is an example of using
pantheon_clear_edge_paths
on the Pantheon Wordpress Cache page.It gives an example of how to clear a specific path:
However, there doesn't seem to be any documentation on this function, the style of parameters it accepts, or how it handles the paths.
For example, does this also clear sub-paths and/or query variables? If using the above function, will
/books-on-startups/recent/
and/books-on-startups/?sort=date
both be cleared?If not, does the function accept wildcard (
*
) arguments such as'/books-on-startups/*'
?Without that functionality it seems like the next best option would be to clear everything via the
flush_site
function.