Skip to content
This repository has been archived by the owner on Jul 23, 2024. It is now read-only.

Commit

Permalink
Merge pull request #336 from wp-graphql/revert-309-bug/#192-acf-forma…
Browse files Browse the repository at this point in the history
…t-value-filters-are-ignored-by-wpgraphql-acf

Revert "filter returned value with acf/format_value"
  • Loading branch information
jasonbahl authored Sep 16, 2022
2 parents 4fb24c0 + 348cc3b commit 4811637
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions src/class-config.php
Original file line number Diff line number Diff line change
Expand Up @@ -458,15 +458,6 @@ protected function get_acf_field_value( $root, $acf_field, $format = false ) {

}

/**
* Filters the returned ACF field value using acf filters
*
* @param mixed $value The resolved ACF field value
* @param int $id The ID of the object
* @param array $acf_field The ACF field config
*/
$value = apply_filters('acf/format_value', $value, $id, $acf_field);

/**
* Filters the returned ACF field value
*
Expand Down

0 comments on commit 4811637

Please sign in to comment.