Topics are publicized even when checkbox in settings are not set…
-
Hello!
I have added bbPress topics to use with Publicize like it is described in Jetpack docs:
add_action('init', 'my_custom_init'); function my_custom_init() { add_post_type_support( 'topic', 'publicize' ); }
Then I set the checkbox in Publicize settings to off by default using this code:
add_filter( 'publicize_checkbox_default', '__return_false' );
Now, when I’m posting a topic using WordPress Add new->Topic routine everything is allright. But when I’m posting a topic using Add topic link right in bbPress forums, the posted topic gets publicized immediately after I click ‘Submit’.
Is there a way to switch Publicize off by default and publicize only specified topics?
Thank you!
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Topics are publicized even when checkbox in settings are not set…’ is closed to new replies.