Documentation

SendPing

void
CBlogTrackback::SendPing(
 int   postID,
 array arPingUrls
);

The method sends Trackback query about the blog post with postID to the specified arPingUrls addresses. Non-static method.

Method parameters

ParameterDescription
postID Blog post ID.
arPingUrls Array of addresses to which Trackback query must be sent. Optional parameter.

Examples of use

<?
$ID = 2;
$arPingUrls = array(
        "/blog/trackback.php/admin-blog/1.php",
        "http://www.bitrix24.com/blog/blogman/trackback.php/admin-blog/1.php"
    );
CBlogTrackback::SendPing($ID, $arPingUrls);
?>


© «Bitrix24», 2001-2024
Up