File "advanced-custom-fields.php"

Full path: /home/kosmetik/public_html/wp-content/plugins/wp-rocket/inc/3rd-party/plugins/advanced-custom-fields.php
File size: 238 B
MIME-type: text/x-php
Charset: utf-8

Download   Open   Edit   Advanced Editor   Back

<?php

defined('ABSPATH') || exit;
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');