acf/pre_save_post
acf/pre_save_post
Appears in: advanced-custom-fields.6.2.3
Hook Type: filter
Displaying hooks found in version: advanced-custom-fields.6.2.3apply_filters('acf/pre_save_post') is found 1 times:
- /includes/forms/form-front.php line 425
// add global for backwards compatibility $GLOBALS['acf_form'] = $form; // allow for custom save $post_id = apply_filters( 'acf/pre_save_post', $post_id, $form ); // save acf_save_post( $post_id ); // restore form (potentially modified) $form = $GLOBALS['acf_form'];