updated plugin GP Premium version 2.2.0

This commit is contained in:
2022-10-27 11:14:35 +00:00
committed by Gitium
parent 1465186bc5
commit a626bfa106
77 changed files with 418 additions and 152 deletions

View File

@ -243,6 +243,10 @@ function generate_blog_single_featured_image() {
}
}
if ( function_exists( 'wp_get_loading_attr_default' ) ) {
$attrs['loading'] = wp_get_loading_attr_default( 'the_post_thumbnail' );
}
$image_html = apply_filters(
'post_thumbnail_html', // phpcs:ignore -- Core filter.
wp_get_attachment_image(