New answers tagged

0

First, check for get_current_user_id. Then create a log of visits by adding information to a user's metadata with update_user_meta & get_user_meta. On every page hit that you care about you can run a function to determine rate/limit of usage per user. If they break the rules, you can redirect to a page that doesn't contain that logic with wp_redirect.


0

A recent comment brought my attention to this question, which I had posted. I had also posted another question regarding this topic, and had later solved it and posted an answer, here: JWT authentication with WP - Approach Copying that answer here, so that it helps someone who stumbles across this implementation: The endpoint coded in the app that I am ...



Top 50 recent answers are included