This function executes in the comments-[post_type].php file and runs before the comments template is loaded.


You can use this hook to add things like legal disclaimers or other information your readers should know after commenting.

function insert_comments_disclaimer() { 
    echo '<div class="disclaimer">' . __( 'Comments will be moderated and approved upon author\'s discretion.' , 'appthemes' ) . '</div>';
add_action( 'appthemes_before_comments', 'insert_comments_disclaimer' ); 


  • since 1.1

Source File

appthemes_before_comments() is located in comments-[post_type].php.

Your rating: none
Rating: 5 - 1 vote

Popular Add-ons

AppThemes Coupons

Start offering coupons and promotions to your customers.


Ads Auto Re-Lister

Set your ClassiPress website to auto pilot mode! ...This plugin will…


ClassiPress Video Embed

Allow users to embed video from YouTube & Vimeo into their ad listings…