Admin access to secondary site user_can_access_admin_page losing login
So, Why is the value of the function TRUE on init and at some point during the event lifecycle this changes to false? The answer to this (and effectively the question) is to do with WP Capabilities. Firstly: Certain WP functions are available at different times in the action cycle ( https://codex.wordpress.org/Plugin_API/Action_Reference ) Secondly: The … Read more