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 #
Examples #
Note: Extended code example below not guaranteed, you may need to consult with a developer
<?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;
}
);