learndash_body_classes learndash_body_classes( array $classes = array() ) Adds custom classes to the body. ContentsDescription Parameters Return Source Changelog Related Namespace @package Uses Description # Fires on body_class hook. Parameters # $classes (array) (Optional) An array of current body classes. Default value: array() Return # (array) $classes. Source # File: includes/ld-misc-functions.php Changelog # Changelog Version Description 3.1.0 Introduced. Related # Namespace # global @package # LearnDash / Misc Uses # Uses Uses Description themes/class-ld-themes-register.php: LearnDash_Theme_Register::get_active_theme_key () Get the Slug of the current active theme. includes/ld-misc-functions.php: learndash_responsive_video Filters whether to make videos responsive or not. includes/ld-misc-functions.php: learndash_body_classes Filters list of body tag CSS classes. includes/class-ldlms-post-types.php: learndash_get_post_types () includes/course/ld-course-steps-functions.php: learndash_course_get_all_parent_step_ids () Gets the parent step IDs for a step in a course. includes/course/ld-course-functions.php: learndash_get_course_id () Gets the course ID for a resource.
Uses # Uses Uses Description themes/class-ld-themes-register.php: LearnDash_Theme_Register::get_active_theme_key () Get the Slug of the current active theme. includes/ld-misc-functions.php: learndash_responsive_video Filters whether to make videos responsive or not. includes/ld-misc-functions.php: learndash_body_classes Filters list of body tag CSS classes. includes/class-ldlms-post-types.php: learndash_get_post_types () includes/course/ld-course-steps-functions.php: learndash_course_get_all_parent_step_ids () Gets the parent step IDs for a step in a course. includes/course/ld-course-functions.php: learndash_get_course_id () Gets the course ID for a resource.