acf/format_value

acf/format_value

Hook Type: filter

See hook in core

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

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

  • /includes/acf-value-functions.php line 172
    	 * @param   mixed $value The value to preview.
    	 * @param   string $post_id The post ID for this value.
    	 * @param   array $field The field array.
    	 */
    	$value = apply_filters( 'acf/format_value', $value, $post_id, $field );
    
    	// Update store.
    	$store->set( "$post_id:$field_name:formatted", $value );
    
    	// Return value.
    	return $value;