ID ); $user_can_edit = false; foreach ( array( 'posts', 'pages' ) as $post_cap ) $user_can_edit |= current_user_can( "edit_$post_cap" ); ?>