{"id":966454,"date":"2009-01-22T19:26:26","date_gmt":"2009-01-22T19:26:26","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/change-the-admin-header-from-a-plugin\/"},"modified":"2016-08-19T03:18:10","modified_gmt":"2016-08-19T03:18:10","slug":"change-the-admin-header-from-a-plugin","status":"closed","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/change-the-admin-header-from-a-plugin\/","title":{"rendered":"Change the admin header from a plugin"},"content":{"rendered":"<p>Is there any way to make changes to the admin header bar (e.g. Change the &#8216;Howdy&#8217; to something else), without editing admin-header.php? <\/p>\n<p>I would like to include the change as part of a plugin, something along these lines:<br \/>\n&#8212;-<br \/>\nfunction replace($content) {<br \/>\n    $content=str_ireplace(&#8216;Howdy&#8217;,&#8217;Some other greeting&#8217;,$content);<br \/>\n    return $content;<br \/>\n}<br \/>\nadd_filter(&#8216;admin_head&#8217;, &#8216;replace&#8217;);<br \/>\n&#8212;-<\/p>\n","protected":false},"template":"","class_list":["post-966454","topic","type-topic","status-closed","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/966454","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/966454\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=966454"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}