do_action( 'learndash-focus-masthead-before', int $course_id, int $user_id )
Fires before the masthead in the focus template.
Contents
Description #
Parameters #
- $course_id
-
(int) Course ID.
- $user_id
-
(int) User ID.
Source #
Examples #
<?php /** * Example usage for learndash-focus-masthead-before action. */ add_action( 'learndash-focus-masthead-before', function( $course_id, $user_id ) { // May add any custom logic using $course_id, $user_id echo '<div>Custom content or markup</div>'; }, 10, 2 );