Last active
August 9, 2019 08:15
-
-
Save KaineLabs/74eda8f16c620e324081872249cdafdb to your computer and use it in GitHub Desktop.
Change Cover Image Size
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
<?php | |
/** | |
* Change Cover Image Size. | |
*/ | |
function yzc_attachments_get_cover_image_dimensions( $wh ) { | |
return array( 'width' => 1350, 'height' => 350 ); | |
} | |
add_filter( 'bp_attachments_get_cover_image_dimensions', 'yzc_attachments_get_cover_image_dimensions', 99 ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
this code does not work does not increase the length of the cover photo