Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p>Yes. It is possible with the filter <a href="http://core.trac.wordpress.org/browser/tags/3.5.1/wp-admin/edit-form-advanced.php#L64" rel="nofollow"><strong><code>post_updated_messages</code></strong></a>. </p> <pre><code>add_filter( 'post_updated_messages', 'remove_all_messages_so_16015959' ); function remove_all_messages_so_16015959( $messages ) { return array(); } </code></pre> <p>In this example, an empty array is returned. Resulting in no messages at all.<br> This can be fine tuned using the sample values bellow, which are the contents of <code>$messages</code> before the filter.</p> <pre><code>Array ( [post] =&gt; Array ( [0] =&gt; [1] =&gt; Post updated. View post [2] =&gt; Custom field updated. [3] =&gt; Custom field deleted. [4] =&gt; Post updated. [5] =&gt; [6] =&gt; Post published. View post [7] =&gt; Post saved. [8] =&gt; Post submitted. Preview post [9] =&gt; Post scheduled for: Jan 12, 2013 @ 19:03. Preview post [10] =&gt; Post draft updated. Preview post ) [page] =&gt; Array ( [0] =&gt; [1] =&gt; Page updated. View page [2] =&gt; Custom field updated. [3] =&gt; Custom field deleted. [4] =&gt; Page updated. [5] =&gt; [6] =&gt; Page published. View page [7] =&gt; Page saved. [8] =&gt; Page submitted. Preview page [9] =&gt; Page scheduled for: Jan 12, 2013 @ 19:03. Preview page [10] =&gt; Page draft updated. Preview page ) [attachment] =&gt; Array ( [1] =&gt; Media attachment updated. [2] =&gt; Media attachment updated. [3] =&gt; Media attachment updated. [4] =&gt; Media attachment updated. [5] =&gt; Media attachment updated. [6] =&gt; Media attachment updated. [7] =&gt; Media attachment updated. [8] =&gt; Media attachment updated. [9] =&gt; Media attachment updated. [10] =&gt; Media attachment updated. ) ) </code></pre>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload