learndash_is_group_post learndash_is_group_post( WP_Post|int|null $post ) Returns true if it’s a group post. ContentsDescription Parameters Return Source Changelog Related Namespace @package Uses Description # Parameters # $post (WP_Post|int|null) (Required) Post or Post ID. Return # (bool) Source # File: includes/ld-groups.php Changelog # Changelog Version Description 4.1.0 Introduced. Related # Namespace # global @package # LearnDash / Groups Uses # Uses Uses Description includes/class-ldlms-post-types.php: LDLMS_Post_Types::get_post_type_slug () Utility function to return the post type slug(s). This is to prevent hard-coding of the slug(s) throughout the code files.
Uses # Uses Uses Description includes/class-ldlms-post-types.php: LDLMS_Post_Types::get_post_type_slug () Utility function to return the post type slug(s). This is to prevent hard-coding of the slug(s) throughout the code files.