Purge cache when ACF option page is updated - WordPress

I’m using WordPress Cloudflare plugin and it’s working fine when I update posts or page content, but in this project I’ve using ACF Page Options and the automatically purge cache does not work.

I’m using the Cloudflare plugin on WordPress and the cache purge is working fine when I update posts or page content, however in this project I’m using ACF Page Options and the automatic cache clearing doesn’t work when I make an update.

I tried using a cloudflare purge Everything actions filter, but that didn’t work either.

add_filter( 'cloudflare_purge_everything_actions' , function( $actions) {
	return array_merge( $actions, [ 'acf/save_post' ]);
}, 10,1);

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.