Browse: Home / Hooks /

learndash_privacy_export_assignments_per_page

apply_filters( 'learndash_privacy_export_assignments_per_page',  int $per_page_default )

Filters value of per page export for course assignments.


Description #


Parameters #

$per_page_default

(int) Per page limit.


Source #

File: includes/class-ld-gdpr.php


Examples #

Note: Extended code example below not guaranteed, you may need to consult with a developer

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

		// Always return $per_page_default.
		return $per_page_default;
	}
);