A filter to modify any properties of a SlideDeck descriptor array after it has been loaded from the database. This filter is useful for doing real-time modifications to a SlideDeck before it is rendered to the page, without modifying the data stored in the database. This filter was originally created to allow for real-time interactions by visitors to the SlideDeck website, allowing visitors to input their own RSS feeds, Twitter usernames, etc. to preview how different content would look in a SlideDeck.
To modify the a SlideDeck descriptor array after it has been loaded, hook into the filter with the following code:
<?php add_filter( 'slidedeck_after_get', 'my_function_name', 10, 5 ); ?>
The slidedeck_after_get filter receives five parameters:
(array) The SlideDeck descriptor array
(int) The ID of the SlideDeck being loaded
(string) The orderby parameter passed to the original get() request to load the SlideDeck
(string) The order parameter passed to the original get() request to load the SlideDeck
(string) The status of SlideDecks passed to the original get() request to load the SlideDeck
Return an associative array of the SlideDeck descriptor originally received by the filter.
Located In File: