appthemes_before_page_respond

This function executes in the comments-page.php file and loads before the 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_page_respond', '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_page_respond', 'insert_comments_disclaimer' ); 
?>

Changelog

  • since 1.1

Source File

appthemes_before_page_respond() is located in comments-page.php.

Your rating: none
Rating: 0 - 0 votes

Popular Add-ons

A-Z Business Listing

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


(5)
$19

WP Email Styler

Add good looking html template to emails


(3)
$19

AdPoster Blocker

A simple but powerful plugin that blocks spammy new user regs and/or…


(5)
$19