%PDF- %PDF-
Direktori : /home/emergentqj/jugement/wp-content/plugins/wp-rocket/inc/3rd-party/plugins/ |
Current File : /home/emergentqj/jugement/wp-content/plugins/wp-rocket/inc/3rd-party/plugins/advanced-custom-fields.php |
<?php defined( 'ABSPATH' ) || die( 'Cheatin\' uh?' ); /** * 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' );