A filter to modify the orientation of the deck. This filter is used by lenses to set the vertical orientation. The lens still needs to be setup to accommodate the vertical orientation. This filter is applied during the render() method of SlideDeck.
To tell the SlideDeck to process as a vertically formatted deck, you would hook into this filter with the following code:
<?php add_filter( 'slidedeck_process_as_vertical', 'my_function_name', 10, 2 ); ?>
The slidedeck_process_as_vertical filter receives two parameters:
(boolean) The boolean value of whether or not to display the deck as vertical. Default is false
(array) The SlideDeck descriptor array
Return a boolean value for processing the SlideDeck as a vertical deck
Located In File: