BP_Optout::_delete( array $where = array(), array $where_format = array() )

Delete opt-outs.

Description Description

See also See also

Top ↑

Parameters Parameters


(array) (Optional) Array of WHERE clauses to filter by, passed to wpdb::delete(). Accepts any property of a BP_optout object.

Default value: array()


(array) (Optional) See wpdb::insert().

Default value: array()

Top ↑

Return Return

(int|false) The number of rows updated, or false on error.

Top ↑

Source Source

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

	protected static function _delete( $where = array(), $where_format = array() ) {
		global $wpdb;
		return $wpdb->delete( BP_Optout::get_table_name(), $where, $where_format );

Top ↑

Changelog Changelog

Version Description
8.0.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.