New Enrolment mail help (Data structure)
-
Hi There
Nice plugin.
I used it with some enhancements and updates for a POC project.
I need one more enhancement within New Enrolment confirmation mail but cannot achieve because I miss data structure and/or variable name.I would like to replace within for each loop, Moodle course url by full course name (without url, because I add a global moodle login url in same mail)
But I miss data structure and variable name …
Could you help by sharing variable name or code updateActual version:
<?php foreach( $enrollments[ 'enrolments' ] as $enrollment ) { $enrollment_list[] = get_moowoodle_course_url( $enrollment[ 'linked_course_id' ], $enrollment[ 'course_name' ] ); ?> <p> <?php echo esc_html__( 'To access your course ', 'moowoodle' ) . $enrollment_list[ $i ].' <br><br>'; ?> </p> <?php $i++; } ?>
Thanks for helping !
As a thanks you I’ll give you to share with community wpml po/mo files translated in belgian french (see other email)
Benoit @ DiDaXoThe page I need help with: [log in to see the link]
- The topic ‘New Enrolment mail help (Data structure)’ is closed to new replies.