125 reputation
6
bio website niteshluharuka.com
location Kolkata, India
age 27
visits member for 3 years, 5 months
seen Dec 9 at 18:23

An Independent IT Professional and Consultant on MS Technologies like .Net | MVC | Silverlight | Sharepoint | MS Project Server and PhP along with open source CMS Systems like Wordpress/DotNetNuke etc.

I am an enthusiastic technocrat who love to debug problems and solve them. I love writing articles on my website in my spare time. Please visit my Website for more details and subscribe to get technology related tips/tricks.


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()
Jul
10
awarded  Autobiographer