Last active
February 28, 2023 05:45
-
-
Save cryptexvinci/12df3679f331ede18c776f515f7bbfcb to your computer and use it in GitHub Desktop.
Ultimate Member - Need to change image upload minimum width limit.
This file contains hidden or 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 | |
| add_filter( 'um_image_handle_global__option', function( $data ) { | |
| $data['min_width'] = 300; | |
| $data['min_height'] = 300; | |
| return $data; | |
| } ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment