do_action( 'learndash_activated' )
Fires on LearnDash plugin activation.
Description #
Source #
Examples #
Note: Extended code example below not guaranteed, you may need to consult with a developer
<?php
/**
* Example usage for learndash_activated action.
*/
add_action(
'learndash_activated',
function() {
// Add your custom code here
}
);
Changelog #
| Version | Description |
|---|---|
| 2.1.0 | Introduced. |