bp_groups_get_group_type_post_type()
Returns the name of the group type post type.
Description
Return
(string) The name of the group type post type.
Source
File: bp-groups/bp-groups-functions.php
function bp_groups_get_group_type_post_type() { /** * Filters the name of the group type post type. * * @since BuddyBoss 1.0.0 * * @param string $value group Type post type name. */ return apply_filters( 'bp_groups_get_group_type_post_type', buddypress()->group_type_post_type ); }
Changelog
Version | Description |
---|---|
BuddyBoss 1.0.0 | Introduced. |
Questions?
We're always happy to help with code or other questions you might have! Search our developer docs, contact support, or connect with our sales team.