SHARE
TWEET

Untitled

a guest Jul 21st, 2019 64 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. add_filter( 'wpseo_orphaned_post_types', 'set_wpseo_orphaned_post_types');
  2. function set_wpseo_orphaned_post_types( $post_types ) {
  3.  
  4.     $post_types = array('');  // empty array disables the orhpaned content filter for all post types
  5.     return $post_types;
  6. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top