HEX
Server: Apache
System: Linux 4801f1b1.ptr.provps.com 6.17.8-1.el9.elrepo.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Nov 13 18:02:25 EST 2025 x86_64
User: nassaugo (1004)
PHP: 8.1.34
Disabled: exec,passthru,shell_exec,system
Upload Files
File: /home/nassaugo/www/wp-content/plugins/wp-rocket/inc/3rd-party/plugins/advanced-custom-fields.php
<?php

defined( 'ABSPATH' ) || exit;

/**
 * Clear cache when ACF options page is updated.
 *
 * @since 2.10.7
 * @author Remy Perona
 *
 * @param string $post_id ACF options page ID is 'options'.
 */
function rocket_clear_cache_on_acf_options_save( $post_id ) {
	if ( 'options' === $post_id ) {
		rocket_clean_domain();
	}
}
add_action( 'acf/save_post', 'rocket_clear_cache_on_acf_options_save' );