learndash_certificate_pdf_page_formats

apply_filters( 'learndash_certificate_pdf_page_formats',  array $pdf_formats )

Filters certificate pdf page format.


Description #


Parameters #

$pdf_formats

(array) An array of pdf format details.


Source #

File: includes/ld-certificates.php


Examples #

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

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