Created
February 19, 2014 14:05
-
-
Save hlashbrooke/9092750 to your computer and use it in GitHub Desktop.
Sensei - Set a custom image size for a question image
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 | |
add_filter( 'sensei_question_image_size', 'custom_sensei_question_image_size', 10, 2 ); | |
function custom_sensei_question_image_size( $size, $question_id ) { | |
$size = 'large'; | |
return $size; | |
} | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment