Comments number message in password protected post
The only hook to change that is gettext: add_action( ‘loop_start’, ‘wpse_77028_switch_filter’ ); add_action( ‘loop_end’, ‘wpse_77028_switch_filter’ ); /** * Turn comment text filter on or off depending on global $post object. * * @wp-hook loop_start * @wp-hook loop_end * @return void */ function wpse_77028_switch_filter() { $func=”loop_start” === current_filter() ? ‘add_filter’ : ‘remove_filter’; $func( ‘gettext’, ‘wpse_77028_comment_num_text’, 10, … Read more