Advertisement
Guest User

sitepress.class.php - filters

a guest
Jan 16th, 2014
30
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.67 KB | None | 0 0
  1.             // Post/page delete actions
  2. //            add_action('delete_post', array($this,'delete_post_actions'));
  3.             add_action('deleted_post', array($this,'deleted_post_actions'));
  4.             add_action('wp_trash_post', array($this,'trash_post_actions'));
  5.             add_action('untrashed_post', array($this,'untrashed_post_actions'));
  6.  
  7.             add_filter('posts_join', array($this,'posts_join_filter'), 10, 2);
  8.             add_filter('posts_where', array($this,'posts_where_filter'), 10, 2);
  9.             add_filter('comment_feed_join', array($this,'comment_feed_join'));
  10.  
  11.             add_filter('comments_clauses', array($this, 'comments_clauses'), 10, 2);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement