BP_Invitation::mark_sent_by_data( array $args )

Mark invitations as sent that are found by user_id, inviter_id, item id, and optional secondary item id, and class name.

Description

Parameters

$args

(array) (Required) See BP_Invitation::update().

Return

(bool|int)

Source

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

	public static function mark_sent_by_data( $args ) {

		// Values to be updated
		$update_args = array(
			'invite_sent' => 'sent',
		);

		return self::update( $update_args, $args );
	}

Changelog

Changelog
Version Description
BuddyBoss 1.3.5 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.