Support

Account

Home Forums General Issues Function that get ACF fields value before saving Reply To: Function that get ACF fields value before saving

  • Hi @gani

    You are using a filter called add_filter('wp_insert_post_data', 'my_func');.
    Please change this to add_action('acf/save_post', 'my_func');.

    You can then change the priority (please read docs on the add_action function)

    Thanks
    E