Skip to content

Instantly share code, notes, and snippets.

@ThierryA
Created October 28, 2015 08:44
Show Gist options
  • Save ThierryA/ab18c5ed9317f5544657 to your computer and use it in GitHub Desktop.
Save ThierryA/ab18c5ed9317f5544657 to your computer and use it in GitHub Desktop.
Beans: disable post image resizing.
<?php
// Do not include the opening php tag if it is already included in your file.
add_filter( 'beans_edit_post_image_args', '__return_false' );
add_filter( 'beans_edit_post_image_small_args', '__return_false' );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment