bp_email_learndash_quiz_email( $email_params )

Return email template for LearnDash quizzes.

Description

Source

File: bp-core/bp-core-learndash-emails.php

	function bp_email_learndash_quiz_email( $email_params ) {

		add_filter( 'wp_mail_content_type', 'bp_email_set_content_type' ); //add this to support html in email

		$email_params['msg'] = bp_email_core_wp_get_template( $email_params['msg'], get_user_by( 'email', $email_params['email'] ) );

		return $email_params;
	}

Changelog

Changelog
Version Description
BuddyBoss 1.0.0 Introduced.

Questions?

We're always happy to help with code or other questions you might have! Search our developer docs, contact support, or connect with our sales team.