user_can_delete_post_comments [ WordPress Function ]
user_can_delete_post_comments ( $user_id, $post_id, $blog_id = 1 )
| Parameters: |
|
| See: | |
| Returns: |
|
| Defined at: |
|
Benzer Fonksiyonlar: user_can_edit_post_comments, user_can_delete_post, user_can_set_post_date, user_can_create_post, user_can_edit_post_date
Whether user can delete a post.
Examples [ wp-snippets.com ]
Google Arama Sonuçlarý
- WordPress › Support » WP1.5: Allow users to edit their own comments
Feb 22, 2005 ... + if ( user_can_delete_post_comments($user_ID, $post_id, $comment) ) : ... + <td ><?php if (user_can_delete_post_comments($user_ID, ...
wordpress.org - Migrating Plugins and Themes to 2.1 « WordPress Codex
... user_can_create_post (use current_user_can); user_can_delete_post (use current_user_can); user_can_delete_post_comments (use current_user_can) ...
codex.wordpress.org - <?php class WP_Roles { var $roles; var $role_objects = array(); var ...
... $post_id, $blog_id); } /* returns true if $user_id can delete $post_id's comments */ function user_can_delete_post_comments($user_id, $post_id, $blog_id = 1) ...
core.svn.wordpress.org - My little music
... $blog_id); } /* returns true if $user_id can delete $post_id's comments */ /** * user_can_delete_post_comments() - Whether user can delete a post * * @since ...
www.mylittlemusic.net