Skip to content

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

Parameters

  • Friends\int|null $reblog_post_id The post ID of the reblogged post. Default null.
  • Friends\WP_Post `` $post The post object.

Files

Hooks

Clone this wiki locally