appthemes_list_page_pings

This function executes in the comments-page.php file and loads the pingback/trackback function call. You can remove this action and replace it with your own.

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

Example

<?php
// remove the default ClassiPress pingback/trackback code
remove_action( 'appthemes_list_page_pings', 'cp_list_pings' );
 
// now load your own pingback/trackback code
function insert_your_code_block() { 
    global $post;
 
    wp_list_comments( array( 
        'callback' => 'my_custom_comment_callback', 
        'type' => 'pings'
     ) );
}
add_action( 'appthemes_list_page_pings', 'insert_your_code_block' ); 
?>

Changelog

  • since 1.1

Source File

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

Your rating: none
Rating: 0 - 0 votes

Popular Add-ons

Motivate Mails

Motivate users to purchase featured ads on your ClassiPress website


(1)
$19

Authorize.Net

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


(6)
$39

Logic Widgets for Vantage

Quickly and easily add conditional content to your Vantage site including…


(4)
$29