Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Sensei - Set a custom image size for a question image
<?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
You can’t perform that action at this time.