is_lifterlms()
Determine if a LifterLMS post type or post type archive is being displayed.
Return Return
(boolean)
Source Source
File: includes/functions/llms-functions-conditional-tags.php
function is_lifterlms() { /** * Modify the return of the is_lifterlms() conditional function. * * @since Unknown * @since 3.37.0 Add check for `is_membership_taxonomy()`. * * @param boolean $is_lifterlms Default value. */ return apply_filters( 'is_lifterlms', ( is_course() || is_courses() || is_course_taxonomy() || is_lesson() || is_quiz() || is_membership() || is_memberships() || is_membership_taxonomy() ) ); }
Expand full source code Collapse full source code View on GitHub