Description
Determines whether or not to execute thesis_sidebars.
Must return either true or false with every iteration (the default is true).
Example
function no_sidebars() {
if (is_home())
return false;
else
return true;
}
add_filter('thesis_show_sidebars', 'no_sidebars');
History
- This filter was added in version 1.8.