appthemes_before_blog_comments_form

This function executes in the comments-blog.php file and loads before the blog comments respond form.

Usage

This hook provides no parameters. You use this hook by having your function echo output to the browser, or by having it perform background tasks. Your functions shouldn’t return, and shouldn’t take any parameters.

add_action( 'appthemes_before_blog_comments_form', 'your_function' );

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_form', 'insert_comments_disclaimer' ); 
?>

Changelog

  • since 1.1

Source File

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

Your rating: none
Rating: 0 - 0 votes

Popular Add-ons

Balanced Payments

Accept credit cards and setup escrow payments.


(3)
$39

GeoReg

Captures detailed geographic info with new user registrations.


(10)
$29

Daddy Like

A fast, lightweight, and elegant "like" system for comments, pages, posts,…


(12)
$19