t31os_ on "How to restrict comment-ability on a per-user/per-page basis?"
February 10, 2010 by David Olsen
Have you checked the function reference.
http://codex.wordpress.org/Function_Reference
Action and filter references are always handy.
http://codex.wordpress.org/Plugin_API/Action_Reference
http://codex.wordpress.org/Plugin_API/Filter_Reference
Failing a codex page that gives a suitable example of whatever you’re looking for, the alternative, as i often do, is to jump into the code and look at the functions directly rather then making guesses at intended usage.
Here’s some links specific info on getting userdata..
http://codex.wordpress.org/Function_Reference/wp_get_current_user
http://codex.wordpress.org/Function_Reference/get_userdata
..and a few for custom field data..
http://codex.wordpress.org/Function_Reference/get_post_custom
http://codex.wordpress.org/Function_Reference/get_post_custom_keys
http://codex.wordpress.org/Function_Reference/get_post_custom_values
You’ll find some(not all) codex pages have related links at the bottom, so often when reading one page you’ll find related information simply by checking the links the bottom of the page(s).
Hope that helps.
Related posts:
- MichaelH on "Embedding an external page in a post??" Might look at http://wordpress.org/extend/plugins/feedwordpress/ Share on Facebook...
- zguy on "Blog not showing – errors in theme page" blog address: Running: - OS: Windows Standard Server 2003 -...
- t31os_ on "css what difference between using selector a whithout or with pseudo class link" You could cover them all in one definition.. a, a:link,...
- JordashTalon on "An Edit Page AND Edit Post Link" I want to put both an Edit Page and Edit...
- t31os_ on "Exclude posts from some category" Remove the & like i did in the example further...
Related posts brought to you by Yet Another Related Posts Plugin.






Comments
Feel free to leave a comment...
and oh, if you want a pic to show with your comment, go get a gravatar!