Skip to content

friends_reblog

Alex Kirk edited this page Apr 5, 2024 · 9 revisions
add_filter(
    'friends_reblog',
    function (
        int $reblog_post_id = null,
        WP_Post $post
    ) {
        // Your code here
        return $reblog_post_id;
    },
    10,
    2
);

Reblogs a post

Parameters

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

Files

Hooks

Clone this wiki locally