do_action( 'learndash-focus-template-start', int $course_id )
Fires at the start of the focus template.
Contents
Description #
Parameters #
- $course_id
-
(int) Course ID.
Source #
Examples #
<?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 echo '<div>Custom content or markup</div>'; } );
Changelog #
Version | Description |
---|---|
3.0.0 | Introduced. |