apply_filters( 'bp_register_email_post_type' )

Used to determine if user has admin rights on current content. If the logged in user is viewing their own profile and wants to delete something, is_item_admin is used. This is a generic variable so it can be used by other components. It can also be modified, so when viewing a group ‘is_item_admin’ would be ‘true’ if they are a group admin, and ‘false’ if they are not.



File: bp-core/classes/class-bp-core.php


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.