Created
August 24, 2016 16:42
-
-
Save elimn/bc618386e4b5598320690b870f4aab30 to your computer and use it in GitHub Desktop.
MT | TEC | Prevent Facebook importer from importing images
This file contains hidden or 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 | |
| /* | |
| * Prevent Facebook importer from importing images | |
| * Useful fore countries where laws such as copyright can make this a problem | |
| */ | |
| add_filter( 'tribe_fb_event_img', '__return_false' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment