do_action( 'learndash-focus-template-start', int $course_id )
Fires at the start of the focus template.
Description #
Parameters #
- $course_id
-
(int) Course ID.
Source #
Examples #
Note: Extended code example below not guaranteed, you may need to consult with a developer
<?php /** * Example usage for learndash-focus-template-start action. */ add_action( 'learndash-focus-template-start', function( $course_id ) { // May add any custom logic using $course_id } );
Changelog #
Version | Description |
---|---|
3.0.0 | Introduced. |