bp_invites_remove_bulk_actions( $actions )
Remove the bulk actions of bp-invite post type.
Description
Parameters
- $actions
-
(Required)
Return
(mixed)
Source
File: bp-invites/bp-invites-admin.php
function bp_invites_remove_bulk_actions( $actions ) { unset( $actions[ 'edit' ] ); unset( $actions[ 'trash' ] ); $actions['revoke_action'] = 'Revoke Invitations'; return $actions; }
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.