• dfdfdfdfdf

    (@alessandrosim21)


    Hello everyone, I have a website developed with www.ads-software.com and I would like to know how I can make the files private, for example the simoncini21.it/wp-json file is visible to everyone and I would like to make it private

    • This topic was modified 4 years, 1 month ago by dfdfdfdfdf.

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Moderator bcworkz

    (@bcworkz)

    That’s part of the REST API. Hiding some kinds data can break certain functionality. Anyway, I believe you could use the ‘rest_pre_echo_response’ filter to only allow response to logged in users or any other criteria you might want to enforce. The data output could also be altered to add or remove certain elements.

Viewing 1 replies (of 1 total)
  • The topic ‘Hide files’ is closed to new replies.