woof_block_toggle_state
Allows manipulation by taxonomies blocks toggle state, for example make them closed on mobile devices:
add_filter('woof_block_toggle_state', function($block_is_closed) {
if (wp_is_mobile()) {
$block_is_closed = true;
}
return $block_is_closed;
});
Troubles? Ask for Support!
