Reputation
2,057
Top tag
Next privilege 2,500 Rep.
Create tag synonyms
Badges
12 23
Impact
~200k people reached

Apr
15
awarded  Popular Question
Feb
19
awarded  Explainer
Dec
29
awarded  Informed
Dec
9
awarded  Yearling
Aug
25
awarded  Popular Question
Jun
10
answered Change Slug of a Custom Post Type
Jun
1
awarded  Notable Question
Dec
9
awarded  Yearling
Nov
6
comment Login to Admin Dashboard Problem
Have you activated any non-default themes or plugins recently?
Aug
26
awarded  Notable Question
Jul
2
awarded  Curious
Dec
9
awarded  Yearling
Oct
28
awarded  Notable Question
Aug
6
awarded  Popular Question
Jul
12
comment Redirect Restricted Page to 404
You are right. I was under the impression from the client that he did not want anyone without access to even know the page existed, throwing a 401 would say it exists but prohibited. Nonetheless, it would be an easy change to throw a 401 instead.
Jun
17
answered how to invoke wordpress API from other existing PHP system
Jun
12
comment how to get wordpress user id when user register
Please open a new question so we can go more in-depth with your problem. But it seems this answer should be the solution you want.
Jun
10
revised how to get wordpress user id when user register
formatted code
Jun
10
answered how to get wordpress user id when user register
Jun
10
suggested approved edit on how to get wordpress user id when user register