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 #

 <?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

		echo '<div>Custom content or markup</div>';
	},
	10,
	2
);
 

Changelog #

Changelog
Version Description
2.4.7 Introduced.