You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The toggle Show in REST API? is visible in field settings but set to No by default. Despite that, all fields are still included in the API. Turning it on and back off does not remove them either.
Any idea ?
it's really important because it's confidential informations
The text was updated successfully, but these errors were encountered:
djoo
changed the title
Unable to hide field from REST API
Unable to hide user's fields from REST API
Jul 15, 2021
I want to hide ACF fields on my users.
For exemple on this https://domain.com/wp-json/acf/v3/users/279/
I did enabled the filter in functions.php :
add_filter( 'acf/rest_api/field_settings/show_in_rest', '__return_true' );
The toggle Show in REST API? is visible in field settings but set to No by default. Despite that, all fields are still included in the API. Turning it on and back off does not remove them either.
Any idea ?
it's really important because it's confidential informations
The text was updated successfully, but these errors were encountered: