BP_Optout::delete_by_id( int $id )

Delete a single opt-out by ID.


Description Description

See also See also


Top ↑

Parameters Parameters

$id

(int) (Required) ID of the opt-out item to be deleted.


Top ↑

Return Return

(bool) True on success, false on failure.


Top ↑

Source Source

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

	public static function delete_by_id( $id ) {
		return self::delete( array(
			'id' => $id,
		) );
	}


Top ↑

Changelog 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.