Browse: Home / Hooks /

learndash_certification_after

do_action( 'learndash_certification_after',  TCPDF $pdf,  int $post_id )

Fires after setting certificate pdf data.


Description #


Parameters #

$pdf

(TCPDF) TCPDF class instance.

$post_id

(int) Post ID.


Source #

File: includes/ld-convert-post-pdf.php


Examples #

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

 <?php
/**
 * Example usage for learndash_certification_after action.
 */
add_action(
	'learndash_certification_after',
	function( $pdf, $post_id ) {
		// May add any custom logic using $pdf, $post_id

	},
	10,
	2
);
 

Changelog #

Changelog
Version Description
2.4.7 Introduced.