Reputation
Top tag
Next privilege 200 Rep.
See reduced ads
Badges
1 6
Impact
~3k people reached

  • 0 posts edited
  • 0 helpful flags
  • 4 votes cast
Dec
21
awarded  Notable Question
Dec
25
accepted Disallow a user to post in certain categories
Dec
25
comment Disallow a user to post in certain categories
Thanks! I mark this answer as accepted as it does seem to do what was asked in the question. Guys trying this out, please note that I have not tested it either!!!
Dec
25
comment Disallow a user to post in certain categories
Thanks for the detailed explanation. I will try this and see if this works. For the time being, I ended up using "wp_insert_post_data" hook that will disallow user to publish the post. Also, I think using the above code may break something unwanted in Wordpress. Please let me know if this is correct or not.
Dec
24
revised Disallow a user to post in certain categories
added 217 characters in body
Dec
24
asked Disallow a user to post in certain categories
Dec
3
awarded  Scholar
Dec
3
awarded  Supporter
Dec
3
accepted Setting Custom Email From name and email address in wp_email()
May
17
awarded  Popular Question
Feb
11
awarded  Student
Feb
2
comment Setting Custom Email From name and email address in wp_email()
doing a var_dump shows the correct email address, but even then the email is not sent!! output of var_dump is string(22) "webmaster@example.com"
Feb
2
revised Setting Custom Email From name and email address in wp_email()
Updated code with Brady's answer..
Feb
2
comment Setting Custom Email From name and email address in wp_email()
@Brady..did not work..please see my updated code above
Feb
1
comment Setting Custom Email From name and email address in wp_email()
I will check and let you know. Do you think there can be an issue with server?
Feb
1
revised Setting Custom Email From name and email address in wp_email()
deleted 12 characters in body
Feb
1
comment Setting Custom Email From name and email address in wp_email()
@StephenHarris updated code
Feb
1
awarded  Editor
Feb
1
revised Setting Custom Email From name and email address in wp_email()
added 823 characters in body
Feb
1
asked Setting Custom Email From name and email address in wp_email()