We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents f2e87ee + e691292 commit 5d6219aCopy full SHA for 5d6219a
plugin.php
@@ -15,6 +15,4 @@ function wp_api_encode_acf($data,$post,$context){
15
return $data;
16
}
17
18
-if( function_exists('get_fields') ){
19
- add_filter('json_prepare_post', 'wp_api_encode_acf', 10, 3);
20
-}
+add_filter('json_prepare_post', 'wp_api_encode_acf', 10, 3);
0 commit comments