-
Notifications
You must be signed in to change notification settings - Fork 4
wpt_status
github-actions[bot] edited this page Jun 14, 2026
·
1 revision
add_filter(
'wpt_status',
function(
$postTitle,
$post_ID,
string $title
) {
// Your code here.
return $postTitle;
},
10,
3
);-
$postTitleOther variable names:$postExcerpt $post_ID-
string$titleOther variable names:$post
apply_filters( 'wpt_status', $post['postTitle'], $post_ID, 'title' )apply_filters( 'wpt_status', $post['postExcerpt'], $post_ID, 'post' )