acf/update_value

acf/update_value

Hook Type: filter

See hook in core

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

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

  • /includes/acf-value-functions.php line 216
    	 * @param   string $post_id The post ID for this value.
    	 * @param   array $field The field array.
    	 * @param   mixed $original The original value before modification.
    	 */
    	$value = apply_filters( 'acf/update_value', $value, $post_id, $field, $value );
    
    	// Allow null to delete value.
    	if ( $value === null ) {
    		return acf_delete_value( $post_id, $field );
    	}