Created
November 9, 2015 13:02
-
-
Save JulioPotier/516294870ac38028fcce to your computer and use it in GitHub Desktop.
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 | |
/** | |
* Plugin Name: Disable Thumbnails Embeds | |
* Description: Don't like the thumbnails embed? | |
* Version: 1.0 | |
* Author: Julio Potier | |
* Author URI: https://wp-rocket.me | |
* License: GPLv2+ | |
* | |
*/ | |
add_filter( 'embed_thumbnail_image_shape', '__return_false' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment