Created
September 27, 2013 02:07
-
-
Save dlh01/6723285 to your computer and use it in GitHub Desktop.
BetterWP Recent Comments: Allows you to define the "Template for comments" from a plugin or theme
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
add_action( 'wp_head', 'my_bwp_recent_comments_template' ); | |
function my_bwp_recent_comments_template() { | |
global $bwp_rc; | |
$bwp_rc->options['template_comment'] = '<p>My template here</p>'; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment