This function executes in the comments-[post_type].php file and loads in the custom post type comments. This is where the comments are hooked and loaded from.


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_list_comments', 'your_function' );


// remove the default ClassiPress comments code
remove_action( 'appthemes_list_comments', 'cp_list_comments' ); 
// now load your own comments code
function insert_your_code_block() { 
    global $post;
    wp_list_comments( array( 'callback' => 'my_custom_comments_callback', 'type' => 'comment' ) );
add_action( 'appthemes_list_comments', 'insert_your_code_block' ); 


  • since 1.1

Source File

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

Your rating: none
Rating: 0 - 0 votes

Popular Add-ons

WP Email Styler

Add good looking html template to emails



The Most Responsive,Clean & Modern Clipper Child theme


Sorted Filtered Coupons

Sorting and Filtered Coupons on coupons listing pages as well as search…