Skip to content

friends_reblog

Alex Kirk edited this page May 11, 2024 · 9 revisions

Reblogs a post

Auto-generated Example

add_filter(
    'friends_reblog',
    function (
        int $reblog_post_id = null,
        WP_Post $post,
        string $draft
    ) {
        // Your code here
        return $reblog_post_id;
    },
    10,
    3
);

Parameters

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

Files

apply_filters( 'friends_reblog', null, $post, 'draft' )

Hooks

Clone this wiki locally