BP_Optout::_update( array $data = array(), array $where = array(), array $data_format = array(), array $where_format = array() )
Update opt-outs.
Description Description
See also See also
- wpdb::update(): for further description of paramater formats.
Parameters Parameters
- $data
-
(Optional) Array of opt-out data to update, passed to wpdb::update(). Accepts any property of a BP_optout object.
Default value: array()
- $where
-
(Optional) The WHERE params as passed to wpdb::update(). Typically consists of array( 'ID' => $id ) to specify the ID of the item being updated. See wpdb::update().
Default value: array()
- $data_format
-
(Optional) See wpdb::insert().
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-optout.php
Changelog Changelog
Version | Description |
---|---|
8.0.0 | Introduced. |