acf/update_field

acf/update_field

Hook Type: filter

See hook in core

Displaying hooks found in version: advanced-custom-fields.6.1.7

apply_filters('acf/update_field') is found 1 times:

  • /includes/acf-field-functions.php line 1015
    	 * @since   5.0.0
    	 *
    	 * @param   array $field The field array.
    	 */
    	$field = apply_filters( 'acf/update_field', $field );
    
    	// Make a backup of field data and remove some args.
    	$_field = $field;
    	acf_extract_vars( $_field, array( 'ID', 'key', 'label', 'name', 'prefix', 'value', 'menu_order', 'id', 'class', 'parent', '_name', '_prepare', '_valid' ) );
    
    	// Create array of data to save.