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

Critic

A professional review and rating system for WordPress.


(13)
$29

Daleel for Vantage

Daleel is a fresh and clean Child theme for Vantage 4.x.


(6)
$49
WP Smart Export

WP Smart Export

A highly customizable WordPress data exporter plugin.


(7)
$19