Course_Membership
Class Course_Membership
Source
File: includes/modules/lifterlms_booster/views/course_membership.php
Expand full source code Collapse full source code View on Github
Methods
- add_pagination_class — Add class on pagination so we can hide it on infinite scroll.
- add_rel_next_prev — Add rel next/prev.
- archives_pagination — Courses and Memberships Archives pagination
- is_courses — Detect if current page is a course page.
- is_memberships — Detect if current page is a membership page.
- lifterlms_desktop_columns — Number of columns on desktop.
- lifterlms_infinite_scroll — Add infinite scroll on LifterLMS container.
- lifterlms_responsive_columns — Number of columns on responsive.
- list_layout — List layout for courses / memberships.
- load_more_courses_sentinel — Add a sentinel to know when the request should happen.
- register_hooks — Init function.
- remove_pagination — Remove pagination when fetching posts.
- run — Run the module.
- wrap_close — Close wrapper.
- wrap_lifter_card_content — Card content wrapper.
- wrap_lifter_card_media — Card media wrapper.