! 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_Recent_Post::get_post_ids( $post_count ); $wrapper_attributes = get_block_wrapper_attributes( array( 'class' => 'awp_recent_posts awp_widget' ) ); ?>