ACF on submit
-
Is there a function that I can use to recognize when ACF has been submitted so I can provide my own function?
function my_acf_save_post( $post_id ) {
$my_post = array(
‘ID’ => 29945,
‘post_content’ => ‘This is the updated content.’
);my_function($my_post);
}
add_action(‘acf/save_post’, ‘my_acf_save_post’, 1);
in the functions.php?
- The topic ‘ACF on submit’ is closed to new replies.