learndash-focus-header-nav-after

do_action( 'learndash-focus-header-nav-after',  int $course_id,  int $user_id )

Fires after the header nav in the focus template.


Description #


Parameters #

$course_id

(int) Course ID.

$user_id

(int) User ID.


Source #

File: themes/ld30/templates/focus/masthead.php


Examples #

 <?php
/**
 * Example usage for learndash-focus-header-nav-after action.
 */
add_action(
	'learndash-focus-header-nav-after',
	function( $course_id, $user_id ) {
		// May add any custom logic using $course_id, $user_id

		echo '<div>Custom content or markup</div>';
	},
	10,
	2
);