
在JavaScript中使用媒体查询的教程
user_can_delete_post ( $user_id, $post_id, $blog_id = 1 )
user_can_delete_post: 这个钩子用于确定用户是否可以删除一个文章。
用户是否可以删除一个文章。
function user_can_delete_post($user_id, $post_id, $blog_id = 1) { _deprecated_function( __FUNCTION__, '2.0.0', 'current_user_can()' ); // Right now if one can edit, one can delete. return user_can_edit_post($user_id, $post_id, $blog_id); }