notify me about new replies via email
-
Hi!
This checkbox “Inform me about new topics via email” is always stay cheked.
If I check it off, it’s checked again.If I try this code, it always be unchecked:
function pw_bbp_auto_checK_subscribe( $checked, $topic_subscribed ) {
if( $topic_subscribed == 0 )
$topic_subscribed = false;
return checked( $topic_subscribed, true, false );
}
add_filter( ‘bbp_get_form_topic_subscribed’, ‘pw_bbp_auto_checK_subscribe’, 10, 2 );But it must work properly: be unchecked for default, and user can check and uncheck it his self any time.
Site: http://www.tocpeople.com/forum/
with newest versions of WordPress and BBpress.
- You must be logged in to reply to this topic.