Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Youzify - Make Profile Posts Tab Images Full size
* Youzify - Make Blog Posts Tab Images Full size
add_filter( 'youzify_get_attachment_image_size', 'yzc_make_blog_images_full_size', 10, 2 );
function yzc_make_blog_images_full_size( $size, $element ) {
if ( $element == 'profile-posts-tab' ) {
return 'full';
return $size;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment