Using Nonces for AJAX that only retrieves data

No, it is not needed. If you want to show the data to some users only, you can use current_user_can( 'some_capability' ) to restrict the access.

Leave a Comment