Created
July 21, 2015 00:06
-
-
Save sbrajesh/088e365ae0b3fb886c43 to your computer and use it in GitHub Desktop.
stop buddyblog featured image
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 | |
//do not allow featured image pload | |
add_filter( 'buddyblog_post_form_settings', 'buddydev_restrict_featured_image_upload' ); | |
function buddydev_restrict_featured_image_upload( $settings ) { | |
$settings['has_post_thumbnail'] = 0; | |
return $settings; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment