{"id":3838,"date":"2014-04-25T06:05:28","date_gmt":"2014-04-25T06:05:28","guid":{"rendered":"http:\/\/developer.wordpress.org\/reference\/functions\/current_user_can\/"},"modified":"2026-02-24T05:31:25","modified_gmt":"2026-02-24T05:31:25","slug":"current_user_can","status":"publish","type":"wp-parser-function","link":"https:\/\/developer.wordpress.org\/reference\/functions\/current_user_can\/","title":{"rendered":"current_user_can()"},"excerpt":{"rendered":"<p>Returns whether the current user has the specified capability.<\/p>\n","protected":false},"comment_status":"open","ping_status":"open","template":"","meta":{"_crdt_document":"","footnotes":""},"wp-parser-source-file":[219],"wp-parser-package":[109,3],"wp-parser-since":[14,1059,1133],"class_list":["post-3838","wp-parser-function","type-wp-parser-function","status-publish","hentry","wp-parser-source-file-wp-includes_capabilities-php","wp-parser-package-users","wp-parser-package-wordpress","wp-parser-since-2-0-0","wp-parser-since-5-3-0","wp-parser-since-5-8-0"],"revision_note":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/developer.wordpress.org\/wp-json\/wp\/v2\/wp-parser-function\/3838","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/developer.wordpress.org\/wp-json\/wp\/v2\/wp-parser-function"}],"about":[{"href":"https:\/\/developer.wordpress.org\/wp-json\/wp\/v2\/types\/wp-parser-function"}],"replies":[{"embeddable":true,"href":"https:\/\/developer.wordpress.org\/wp-json\/wp\/v2\/comments?post=3838"}],"version-history":[{"count":7,"href":"https:\/\/developer.wordpress.org\/wp-json\/wp\/v2\/wp-parser-function\/3838\/revisions"}],"predecessor-version":[{"id":127481,"href":"https:\/\/developer.wordpress.org\/wp-json\/wp\/v2\/wp-parser-function\/3838\/revisions\/127481"}],"wp:attachment":[{"href":"https:\/\/developer.wordpress.org\/wp-json\/wp\/v2\/media?parent=3838"}],"wp:term":[{"taxonomy":"wp-parser-source-file","embeddable":true,"href":"https:\/\/developer.wordpress.org\/wp-json\/wp\/v2\/wp-parser-source-file?post=3838"},{"taxonomy":"wp-parser-package","embeddable":true,"href":"https:\/\/developer.wordpress.org\/wp-json\/wp\/v2\/wp-parser-package?post=3838"},{"taxonomy":"wp-parser-since","embeddable":true,"href":"https:\/\/developer.wordpress.org\/wp-json\/wp\/v2\/wp-parser-since?post=3838"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}