WordPress.org

Ready to get started?Download WordPress

Plugin Directory

One Click Close Comments

Conveniently close or open comments for a post or page with one click.

Filters

The plugin exposes one action for hooking.

c2c_one_click_close_comments_click_char (action)

The 'c2c_one_click_close_comments_click_char' hook allows you to use an alternative character or string as the plugin's indicator in the posts listing tables. It is the character that get color-coded to indicate if comments are open or close, and the thing to click to toggle the comment open status. By default this is a bullet, • (a solid circle).

Arguments:

  • $char (array): The character to be used for display (by default this is •).

Example:

add_filter( 'c2c_one_click_close_comments_click_char', 'custom_one_click_char' );
function custom_one_click_char( $char ) {
    return '♦';  // Use a diamond character instead of the bullet
}

Requires: 2.8 or higher
Compatible up to: 3.8.3
Last Updated: 2013-12-18
Downloads: 52,548

Ratings

4 stars
4.9 out of 5 stars

Support

1 of 1 support threads in the last two months have been resolved.

Got something to say? Need help?

Compatibility

+
=
Not enough data

0 people say it works.
0 people say it's broken.

100,1,1
100,1,1
100,1,1
100,1,1
100,2,2
100,1,1 100,2,2
0,1,0
100,2,2
100,1,1
100,1,1
100,1,1
100,1,1
100,1,1
100,1,1