ld_certificate_link_label

apply_filters( 'ld_certificate_link_label',  string $label,  int $user_id,  int $quiz_id )

Filters label for certificate link.


Description #


Parameters #

$label

(string) Label for certificate link.

$user_id

(int) User ID.

$quiz_id

(int) Quiz ID.


Source #

File: includes/ld-certificates.php


Examples #

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

		// Always return $label.
		return $label;
	},
	10,
	3
);