do_action( 'learndash_topic_completed', array $topic_data )
Fires after the topic is marked completed.
Description #
Parameters #
- $topic_data
-
(array) An array of topic complete data.
Source #
Examples #
Note: Extended code example below not guaranteed, you may need to consult with a developer
<?php /** * Example usage for learndash_topic_completed action. */ add_action( 'learndash_topic_completed', function( $topic_data ) { // May add any custom logic using $topic_data } );
Changelog #
Version | Description |
---|---|
2.1.0 | Introduced. |