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

Price Comparer

Jump start your Price Comparision site with products from Amazon,…


(3)
$29

Listings by Category or Tag

Display listings by Category or Tag using a filter widget.


(1)
$12

Daddy Like

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


(12)
$19