public/wordpress/wp-content/plugins/wp-courseware/includes/functions/courses.php
/**
 * Get Default Email To Email.
 *
 * @since 4.4.0
 *
 * @return string The default from email.
 */
Get Default Email To Email.

@return string The default from email.
Get Default Email To Email . @return string The default from email .
function wpcw_course_get_default_email_to_email() {
	$current_user = wp_get_current_user();
	$from_email = ( $current_user->user_email != get_bloginfo( 'admin_email' ) ) ? $current_user->user_email : get_bloginfo( 'admin_email' );
	return apply_filters( 'wpcw_course_default_to_email', $from_email );
}
function wpcw_course_get_default_email_to_email ( ) { $ current_user = wp_get_current_user ( ) ; $ from_email = ( $ current_user -> user_email != get_bloginfo ( 'admin_email' ) ) ? $ current_user -> user_email : get_bloginfo ( 'admin_email' ) ; return apply_filters ( 'wpcw_course_default_to_email' , $ from_email ) ; }
Get Default Email To Email.
Get Default Email To Email .