VERSION
VERSION
init() : \Jetpack_RelatedPosts
Creates and returns a static instance of Jetpack_RelatedPosts.
init_raw() : \Jetpack_RelatedPosts
Creates and returns a static instance of Jetpack_RelatedPosts_Raw.
_action_frontend_redirect(int $to_post_id, int $link_position) : null
Blog reader has clicked on a related link, log this action for future relevance analysis and redirect the user to their post.
NOTE: Calls exit() to end all further processing after redirect has been outputed.
int | $to_post_id | |
int | $link_position |
_generate_related_post_context(int $blog_id, int $post_id) : string
Generates a context for the related content (second line in related post output).
Order of importance:
int | $blog_id | |
int | $post_id |