BP_Invitation::_delete( array $where = array(), array $where_format = array() )
Delete invitations.
Description Description
See also See also
- wpdb::update(): for further description of paramater formats.
Parameters Parameters
- $where
-
(Optional) Array of WHERE clauses to filter by, passed to wpdb::delete(). Accepts any property of a BP_Invitation object.
Default value: array()
- $where_format
-
(Optional) See wpdb::insert().
Default value: array()
Return Return
(int|false) The number of rows updated, or false on error.
Source Source
File: bp-core/classes/class-bp-invitation.php
protected static function _delete( $where = array(), $where_format = array() ) { global $wpdb; return $wpdb->delete( BP_Invitation_Manager::get_table_name(), $where, $where_format ); }
Changelog Changelog
Version | Description |
---|---|
5.0.0 | Introduced. |