Snippets: Allow Sticky Posts To Show First in Related Posts

add_filter( 'wpex_blog_post_related_query_args', function( $args ) {
    $args['ignore_sticky_posts'] = false;
    return $args;
} );

Snippet Type: PHP

All PHP snippets should be added via a child theme's functions.php file or via the Code Snippets Plugin (or alternative plugin)