learndash-nav-after-inner-section-heading

do_action( 'learndash-nav-after-inner-section-heading',  WP_Post $section,  int $course_id,  int $user_id )

Fires after the section title (inside wrapper).


Description #


Parameters #

$section

(WP_Post) WP_Post object for section.

$course_id

(int) Course ID.

$user_id

(int) User ID.


Source #

File: themes/ld30/templates/widgets/navigation/section.php


Examples #

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

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

Changelog #

Changelog
Version Description
3.0.0 Introduced.