user_can_delete_post [ WordPress Function ]
user_can_delete_post ( $user_id, $post_id, $blog_id = 1 )
| Parameters: |
|
| See: | |
| Returns: |
|
| Defined at: |
|
Soorgelijke functies: user_can_create_post, user_can_edit_post, user_can_delete_post_comments, user_can_set_post_date, user_can_edit_post_date
Whether user can delete a post.
Examples [ wp-snippets.com ]
Top Google zoekresultaten
- 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 /** * Add's a option page in the admin panel */ function ...
value="no">No</option> </select> </td> </tr> <tr valign="top"> <th scope="row"> User Can Delete Post</th> <td> <?php $wpuf_can_del_post ...
plugins.svn.wordpress.org - check_and_publish_future_post (WordPress Function) - WPSeek.com
Similar Functions: get_others_unpublished_posts, wp_publish_post, _publish_post_hook, user_can_delete_post, the_author_posts. Publish future post and ...
wpseek.com - My little music
... user_can_delete_post() - Whether user can delete a post * * @since 1.5 * @ deprecated Use current_user_can() * @see current_user_can() * * @param int ...
www.mylittlemusic.net