Nombre del gancho
seopress_rss_post_thumb_size
Versión requerida
6.7
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
add_filter('seopress_rss_post_thumb_size', 'sp_rss_post_thumb_size'); | |
function sp_rss_post_thumb_size($size) { | |
//Will be used with wp_get_attachment_image_src() https://developer.wordpress.org/reference/functions/wp_get_attachment_image_src/ | |
$size = 'thumbnail'; //Accepts any registered image size name (thumbnail, medium, large, full or custom size name), or an array of width and height values in pixels (in that order). | |
return $size; | |
} |