xscape_side_scroller_displayed

xscape_side_scroller_displayed

File name: extend/side_scroller/side_scroller.php

Parameters:
  • $is_on: should the scroller be displayed

With this you can modify the visibility of the scroller on any page. By default it will get value based on settings. Return true/or false to this hook to display/hide the scroller.

Example:

[php]add_filter(‘xscape_side_scroller_displayed’, ‘my_scroller_visbility’);
function my_scroller_visbility($is_on) {
// modify $is_on using any conditionals combination //

return $is_on;
}
[/php]

Comments

Leave a Reply