-
Notifications
You must be signed in to change notification settings - Fork 17
friends_reblog
Alex Kirk edited this page Apr 5, 2024
·
11 revisions
add_filter(
'friends_reblog',
function (
Friends\int|null $reblog_post_id,
Friends\WP_Post
) {
// Your code here
return $reblog_post_id;
},
10,
2
);
Reblogs a post
-
Friends\int|null
$reblog_post_id
The post ID of the reblogged post. Default null. -
Friends\WP_Post
`` $post The post object.