This is the filter that is hooked into by sources to specify the slides to be used in the SlideDeck, the result of the filter is the compiled HTML of the slide content. Some of our lenses hook into this filter to add or modify the markup content of the slides.
To modify the slide content of the SlideDeck, you would hook into this filter with the following code:
<?php add_filter( 'slidedeck_get_slides', 'my_function_name', 11, 2 ); ?>
The slidedeck_get_slides filter receives 2 parameters
(array) An array of the slide content being requested by the SlideDeck
(array) The SlideDeck descriptor array
Return an array of the slides content for the SlideDeck.
Located In File: