learndash-focus-content-end

do_action( 'learndash-focus-content-end',  int $course_id,  int $user_id )

Fires at the focus mode content end.


Description #


Parameters #

$course_id

(int) Course ID.

$user_id

(int) User ID.


Source #

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


Examples #

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

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