Support

Account

Home Forums Front-end Issues Set field value on acf save post

Unread

Set field value on acf save post

  • Hi,

    Sorry i have read the doc, update_field update_value but i don’t understand how to set my acf field value in ACF save post.

    Could i have a simple example please ?

    function my_acf_save_post( $post_id ) {

    }
    add_action(‘acf/save_post’, ‘my_acf_save_post’, 20);

Viewing 1 post (of 1 total)

The topic ‘Set field value on acf save post’ is closed to new replies.