learndash_certificate_pdf_page_orientations

apply_filters( 'learndash_certificate_pdf_page_orientations',  array $pdf_orientations )

Filters certificate pdf page orientations.


Description #


Parameters #

$pdf_orientations

(array) An array of pdf page orientations details.


Source #

File: includes/ld-certificates.php


Examples #

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

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