{"id":4517,"date":"2014-04-25T06:06:09","date_gmt":"2014-04-25T06:06:09","guid":{"rendered":"http:\/\/developer.wordpress.org\/reference\/functions\/update_gallery_tab\/"},"modified":"2025-04-28T03:26:58","modified_gmt":"2025-04-28T03:26:58","slug":"update_gallery_tab","status":"publish","type":"wp-parser-function","link":"https:\/\/developer.wordpress.org\/reference\/functions\/update_gallery_tab\/","title":{"rendered":"update_gallery_tab()"},"excerpt":{"rendered":"<p>Adds the gallery tab back to the tabs array if post has image attachments.<\/p>\n","protected":false},"comment_status":"open","ping_status":"open","template":"","meta":{"_crdt_document":"","footnotes":""},"wp-parser-source-file":[345],"wp-parser-package":[226,3],"wp-parser-since":[12],"class_list":["post-4517","wp-parser-function","type-wp-parser-function","status-publish","hentry","wp-parser-source-file-wp-admin_includes_media-php","wp-parser-package-administration","wp-parser-package-wordpress","wp-parser-since-2-5-0"],"revision_note":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/developer.wordpress.org\/wp-json\/wp\/v2\/wp-parser-function\/4517","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=4517"}],"version-history":[{"count":2,"href":"https:\/\/developer.wordpress.org\/wp-json\/wp\/v2\/wp-parser-function\/4517\/revisions"}],"predecessor-version":[{"id":142158,"href":"https:\/\/developer.wordpress.org\/wp-json\/wp\/v2\/wp-parser-function\/4517\/revisions\/142158"}],"wp:attachment":[{"href":"https:\/\/developer.wordpress.org\/wp-json\/wp\/v2\/media?parent=4517"}],"wp:term":[{"taxonomy":"wp-parser-source-file","embeddable":true,"href":"https:\/\/developer.wordpress.org\/wp-json\/wp\/v2\/wp-parser-source-file?post=4517"},{"taxonomy":"wp-parser-package","embeddable":true,"href":"https:\/\/developer.wordpress.org\/wp-json\/wp\/v2\/wp-parser-package?post=4517"},{"taxonomy":"wp-parser-since","embeddable":true,"href":"https:\/\/developer.wordpress.org\/wp-json\/wp\/v2\/wp-parser-since?post=4517"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}