Created
April 24, 2015 08:55
-
-
Save sbrajesh/8c6b001dad1983551dac to your computer and use it in GitHub Desktop.
Friends only default privacy
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
add_filter( 'bpdmp_default_settings', 'bd_friends_only_defult_message_privacy' ); | |
function bd_friends_only_defult_message_privacy( $settings ) { | |
$settings['privacy_type'] = 'friends_only'; | |
return $settings; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment