appthemes_before_respond

This function executes in the comments-[post_type].php file and loads before the custom post type comments respond form.

appthemes_before_respond();

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

Changelog

  • since 1.1

Source File

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

Your rating: none
Rating: 0 - 0 votes

Popular Add-ons

AutoResponder AutoRegistration

Automatically integrates WordPress registration with major autoresponders.


(5)
$39

Authorize.Net

Easily start accepting online payments via credit card and e-check.


(6)
$39

Coupon Countdown

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


(3)
$19