learndash_privacy_transactions_erase

apply_filters( 'learndash_privacy_transactions_erase',  int $per_page_default )

Filters value of per page erase transactions.


Description #


Parameters #

$per_page_default

(int) Per page limit.


Source #

File: includes/class-ld-gdpr.php


Examples #

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

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