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