{"id":161624,"date":"2026-02-24T05:41:07","date_gmt":"2026-02-24T05:41:07","guid":{"rendered":"https:\/\/developer.wordpress.org\/reference\/classes\/wp_interactivity_api\/get_context\/"},"modified":"2026-02-24T05:41:07","modified_gmt":"2026-02-24T05:41:07","slug":"wp_interactivity_api-get_context","status":"publish","type":"wp-parser-method","link":"https:\/\/developer.wordpress.org\/reference\/classes\/wp_interactivity_api\/get_context\/","title":{"rendered":"WP_Interactivity_API::get_context()"},"excerpt":{"rendered":"<p>Returns the latest value on the context stack with the passed namespace.<\/p>\n","protected":false},"comment_status":"open","ping_status":"closed","template":"","meta":{"_crdt_document":"","footnotes":""},"wp-parser-source-file":[1392],"wp-parser-package":[1391,3],"wp-parser-since":[1402],"class_list":["post-161624","wp-parser-method","type-wp-parser-method","status-publish","hentry","wp-parser-source-file-wp-includes_interactivity-api_class-wp-interactivity-api-php","wp-parser-package-interactivity-api","wp-parser-package-wordpress","wp-parser-since-6-6-0"],"revision_note":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/developer.wordpress.org\/wp-json\/wp\/v2\/wp-parser-method\/161624","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/developer.wordpress.org\/wp-json\/wp\/v2\/wp-parser-method"}],"about":[{"href":"https:\/\/developer.wordpress.org\/wp-json\/wp\/v2\/types\/wp-parser-method"}],"replies":[{"embeddable":true,"href":"https:\/\/developer.wordpress.org\/wp-json\/wp\/v2\/comments?post=161624"}],"version-history":[{"count":0,"href":"https:\/\/developer.wordpress.org\/wp-json\/wp\/v2\/wp-parser-method\/161624\/revisions"}],"wp:attachment":[{"href":"https:\/\/developer.wordpress.org\/wp-json\/wp\/v2\/media?parent=161624"}],"wp:term":[{"taxonomy":"wp-parser-source-file","embeddable":true,"href":"https:\/\/developer.wordpress.org\/wp-json\/wp\/v2\/wp-parser-source-file?post=161624"},{"taxonomy":"wp-parser-package","embeddable":true,"href":"https:\/\/developer.wordpress.org\/wp-json\/wp\/v2\/wp-parser-package?post=161624"},{"taxonomy":"wp-parser-since","embeddable":true,"href":"https:\/\/developer.wordpress.org\/wp-json\/wp\/v2\/wp-parser-since?post=161624"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}