Advertisement
swte

Untitled

Oct 12th, 2018
296
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.12 KB | None | 0 0
  1. add_filter('', function($result){
  2. if (get_post_status() == 'private'){
  3. $result = false;
  4. }
  5. return $result;
  6. });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement