{"id":6480937,"date":"2015-08-27T00:46:27","date_gmt":"2015-08-27T00:46:27","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/display-preview-post_status-in-admin-panel\/"},"modified":"2016-08-30T17:17:14","modified_gmt":"2016-08-30T17:17:14","slug":"display-preview-post_status-in-admin-panel","status":"closed","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/display-preview-post_status-in-admin-panel\/","title":{"rendered":"Display &quot;Preview&quot; post_status in admin panel."},"content":{"rendered":"<p>Hi,<\/p>\n<p>Can someone reccomend the cleanest way without overwriting the class-wp-job-manager-post-types.php<\/p>\n<p>to alter <\/p>\n<pre><code>register_post_status( &#039;preview&#039;, array(\n\t\t\t&#039;label&#039;                     =&gt; _x( &#039;Preview&#039;, &#039;post status&#039;, &#039;wp-job-manager&#039; ),\n\t\t\t&#039;public&#039;                    =&gt; false,\n\t\t\t&#039;exclude_from_search&#039;       =&gt; true,\n\t\t\t&#039;show_in_admin_all_list&#039;    =&gt; true,\n\t\t\t&#039;show_in_admin_status_list&#039; =&gt; true,\n\t\t\t&#039;label_count&#039;               =&gt; _n_noop( &#039;Preview &lt;span class=&quot;count&quot;&gt;(%s)&lt;\/span&gt;&#039;, &#039;Preview &lt;span class=&quot;count&quot;&gt;(%s)&lt;\/span&gt;&#039;, &#039;wp-job-manager&#039; ),\n\t\t) );<\/code><\/pre>\n<p>Not the biggest expert in wordpress functions, but I assume I can get a function in function.php to overwrite this?<\/p>\n<p>https:\/\/wordpress.org\/plugins\/job-manager\/<\/p>\n","protected":false},"template":"","class_list":["post-6480937","topic","type-topic","status-closed","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/6480937","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\/6480937\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=6480937"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}