bp_email_ld_group_email_users_args( $mail_args )

Return email template for LearnDash groups.

Description

Source

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

	function bp_email_ld_group_email_users_args( $mail_args ) {

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

		$mail_args['message'] = bp_email_core_wp_get_template( $mail_args['message'] );

		return $mail_args;
	}

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.