! empty( $attributes['showImage'] ), 'show_date' => ! empty( $attributes['showDate'] ), 'show_author' => ! empty( $attributes['showAuthor'] ), 'show_category' => ! empty( $attributes['showCategory'] ), 'show_comment_number' => ! empty( $attributes['showCommentNumber'] ), 'show_excerpt' => ! empty( $attributes['showExcerpt'] ), ); $post_ids = Awp_Related_Posts::get_post_ids( $current_post_id, $match_by, $post_count ); if ( ! $post_ids ) { return; } $wrapper_attributes = get_block_wrapper_attributes( array( 'class' => 'awp_related_posts awp_widget' ) ); ?>
>