{"id":3671,"date":"2014-04-25T06:05:18","date_gmt":"2014-04-25T06:05:18","guid":{"rendered":"http:\/\/developer.wordpress.org\/reference\/functions\/get_the_category\/"},"modified":"2026-05-20T22:19:36","modified_gmt":"2026-05-20T22:19:36","slug":"get_the_category","status":"publish","type":"wp-parser-function","link":"https:\/\/developer.wordpress.org\/reference\/functions\/get_the_category\/","title":{"rendered":"get_the_category()"},"excerpt":{"rendered":"<p>Retrieves post categories.<\/p>\n","protected":false},"comment_status":"open","ping_status":"open","template":"","meta":{"footnotes":""},"wp-parser-source-file":[212],"wp-parser-package":[41,3],"wp-parser-since":[32],"class_list":["post-3671","wp-parser-function","type-wp-parser-function","status-publish","hentry","wp-parser-source-file-wp-includes_category-template-php","wp-parser-package-template","wp-parser-package-wordpress","wp-parser-since-0-71"],"revision_note":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/developer.wordpress.org\/wp-json\/wp\/v2\/wp-parser-function\/3671","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=3671"}],"version-history":[{"count":8,"href":"https:\/\/developer.wordpress.org\/wp-json\/wp\/v2\/wp-parser-function\/3671\/revisions"}],"predecessor-version":[{"id":180705,"href":"https:\/\/developer.wordpress.org\/wp-json\/wp\/v2\/wp-parser-function\/3671\/revisions\/180705"}],"wp:attachment":[{"href":"https:\/\/developer.wordpress.org\/wp-json\/wp\/v2\/media?parent=3671"}],"wp:term":[{"taxonomy":"wp-parser-source-file","embeddable":true,"href":"https:\/\/developer.wordpress.org\/wp-json\/wp\/v2\/wp-parser-source-file?post=3671"},{"taxonomy":"wp-parser-package","embeddable":true,"href":"https:\/\/developer.wordpress.org\/wp-json\/wp\/v2\/wp-parser-package?post=3671"},{"taxonomy":"wp-parser-since","embeddable":true,"href":"https:\/\/developer.wordpress.org\/wp-json\/wp\/v2\/wp-parser-since?post=3671"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}