Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

tabs for the hooklist

  • Loading branch information...
commit 660d7e18103f9940ab5135945a4f76dd287cc9e3 1 parent 19d3c54
@bueltge authored
Showing with 8 additions and 8 deletions.
  1. +8 −8 remove-comments-absolute.php
View
16 remove-comments-absolute.php
@@ -30,18 +30,18 @@ class Remove_Comments_Absolute {
*/
public function __construct () {
- add_filter( 'the_posts', array( $this, 'set_comment_status' ) );
+ add_filter( 'the_posts', array( $this, 'set_comment_status' ) );
- add_filter( 'comments_open', array( $this, 'close_comments'), 10, 2 );
- add_filter( 'pings_open', array( $this, 'close_comments'), 10, 2 );
+ add_filter( 'comments_open', array( $this, 'close_comments'), 10, 2 );
+ add_filter( 'pings_open', array( $this, 'close_comments'), 10, 2 );
- add_action( 'admin_init', array( $this, 'remove_comments' ) );
- add_action( 'admin_menu', array( $this, 'remove_menu_items' ) );
- add_filter( 'add_menu_classes', array( $this, 'add_menu_classes' ) );
+ add_action( 'admin_init', array( $this, 'remove_comments' ) );
+ add_action( 'admin_menu', array( $this, 'remove_menu_items' ) );
+ add_filter( 'add_menu_classes', array( $this, 'add_menu_classes' ) );
- add_action( 'admin_head', array( $this, 'remove_comments_areas' ) );
+ add_action( 'admin_head', array( $this, 'remove_comments_areas' ) );
- add_action( 'wp_before_admin_bar_render', array( $this, 'admin_bar_render' ) );
+ add_action( 'wp_before_admin_bar_render', array( $this, 'admin_bar_render' ) );
}
/**
Please sign in to comment.
Something went wrong with that request. Please try again.