This action is used like a callback to the duplicate_slidedeck method. Hook into this action to run any additional actions when a user duplicates a SlideDeck. For example, the Custom Content source hooks into it to assign the appropriate duplicate post meta for the new SlideDeck.
To add your own function to be run on duplication of a SlideDeck, you would hook into this action with the following code:
<?php add_action( 'slidedeck_duplicate_slidedeck', 'my_function_name', 10, 2 ); ?>
The slidedeck_duplicate_slidedeck action receives 2 parameters
(integer) The id of the SlideDeck
(integer) The id of the new copied SlideDeck
Located In File: