learndash_course_info_paged

apply_filters( 'learndash_course_info_paged',  int $paged,  string $context )

Filters paged query argument for course info.


Description #


Parameters #

$paged

(int) Number of Pages.

$context

(string) The context of course info.


Source #

File: includes/class-ld-lms.php


Examples #

 <?php
/**
 * Example usage for learndash_course_info_paged filter.
 */
add_filter(
	'learndash_course_info_paged',
	function( $paged, $context ) {
		// May add any custom logic using $paged, $context.

		// Always return $paged.
		return $paged;
	},
	10,
	2
);