[wp-hackers] "best practice" for editing custom table

Jennifer Hodgdon yahgrp at poplarware.com
Mon May 7 20:59:11 GMT 2007


> I've got a custom table for storing information about alumni. I want
> to provide a method for editing an individual's data that's accessible
> only to admins and the individual in question.

Try the Codex:

http://codex.wordpress.org/Adding_Administration_Menus

Then you'll want to look at the function current_user_can(), and 
probably create your own special privilege to check whether the user 
is the correct one to edit the data.

For future reference, the best starting point for dev questions is 
"Developer Documentation", which will lead you to "Plugin Resources", 
"Function Reference", etc.

     Jennifer


More information about the wp-hackers mailing list