pre_trackback_post WordPress Action Hook

The pre_trackback_post hook is called before a trackback is inserted into the database. It allows you to modify the trackback data before it is stored.

do_action( 'pre_trackback_post', int $tb_id, string $tb_url, string $charset, string $title, string $excerpt, string $blog_name ) #

Fires before the trackback is added to a post.


Parameters

$tb_id

(int)Post ID related to the trackback.

$tb_url

(string)Trackback URL.

$charset

(string)Character Set.

$title

(string)Trackback Title.

$excerpt

(string)Trackback Excerpt.

$blog_name

(string)Blog Name.


Top ↑

Source

File: wp-trackback.php

View on Trac


Top ↑

Changelog

Changelog
VersionDescription
4.7.0Introduced.

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.