Last active
February 16, 2016 20:05
-
-
Save robflaherty/7e06ea29c077ef33badf to your computer and use it in GitHub Desktop.
Remove annoying WordPress inline width on captions
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
// removes WordPress inline style width on captions | |
add_filter( 'img_caption_shortcode_width', '__return_zero' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment