Docly

Cohort Specific Shortcodes

Estimated reading: 1 minute 54 views

Advanced usage

The [cohort_manager_startdate /], [cohort_manager_first_interaction /] and [cohort_manager_custom_date /] shortcodes are intended to be used within the context of a course and will display the dates related to the course the user is currently on.

If you need to place these shortcodes outside of a course, on a WordPress post or page for example, this can be achieved by passing in either the relevant course_id or user_id parameters that you want to show the date for.

Examples:

				
					[cohort_manager_startdate course_id="12345" /]				
			
				
					[cohort_manager_first_interaction course_id="12345" /]				
			
				
					[cohort_manager_first_interaction course_id="12345" user_id="5" /]				
			

Leave a Comment

CONTENTS