appthemes_before_blog_comments

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

appthemes_before_blog_comments();

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

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

Changelog

  • since 1.1

Source File

appthemes_before_blog_comments() is located in comments-blog.php.

Your rating: none
Rating: 0 - 0 votes

Popular Add-ons

Motivate Mails

Motivate users to purchase featured ads on your ClassiPress website


(1)
$19

Coupon Countdown

Add dynamic countdown to show the expiry time left for each coupon


(3)
$19

A-Z Business Listing

Inserts an A to Z listing of Business's for Vantage


(5)
$19