jan_dembowski

not-pages-live-signature.php

Oct 17th, 2012
179
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.36 KB | None | 0 0
  1. <?php
  2. /*
  3. Plugin Name: No My Live Signature for pages
  4. Description: This plugin will remove the My Live Signature from pages
  5. Version: 0.1
  6. */
  7.  
  8. add_filter( 'wp_head', 'mh_remove_mls' , 20 );
  9. function mh_remove_mls() {
  10.         global $post;
  11.         if( $post->post_type == 'page' ) {
  12.                 remove_filter( 'the_content', 'mls_add_top_post' );
  13.         }
  14. }
Add Comment
Please, Sign In to add comment