Requiring admin credentials
-
Howdy Y’all,
I’m creating a 3D map for a client, and to that end, I’m using a custom post type to contain points of interest. This works well, but in order to place the POIs, each one needs an X and Y coord. These coords are for the underlying 3D environment, and cannot accurately be guessed, so I have a version of the map that shows the X and Y coords where the user clicks (Among other things). I want to protect this page by making sure that any user that accesses it is logged in as an admin. How do I do that? I do not want to use a plugin.
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Requiring admin credentials’ is closed to new replies.