将_wp_post_thumbnail_class_filter添加到wp_get_attachment_image_attributes过滤器

原型

_wp_post_thumbnail_class_filter_add( $attr )

源文件

路径:wp-includes/media.php

<?php
...
	 * @see image_get_intermediate_size()
	 *
	 * @param array        $data    Array of file relative path, width, and height on success. May also include
...
?>

其他

英文文档:https://developer.wordpress.org/reference/functions/_wp_post_thumbnail_class_filter_add/