acf/format_value

acf/format_value

Hook Type: filter

See hook in core

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

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

  • /includes/acf-value-functions.php line 172
    168
    169
    170
    171
    172
    173
    174
    175
    176
    177
    178
    * @param string  $post_id     The post ID for this value.
     * @param array   $field       The field array.
     * @param boolean $escape_html Ask the field for a HTML safe version of it's output.
     */
    $value = apply_filters( 'acf/format_value', $value, $post_id, $field, $escape_html );
     
    // Update store.
    $store->set( $cache_name, $value );
     
    // Return value.
    return $value;