Browse: Home / Hooks /

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 #

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

 <?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;
	}
);