friends_reblog - akirk/friends GitHub Wiki

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 null;
    },
    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' )

← All Hooks