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

Revert "filter returned value with acf/format_value" #336

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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