Yoast\WP\SEO\AI\Consent\Application

Consent_Handler_Interface::revoke_consentpublicYoast 1.0

Handles consent revoked by deleting the consent user metadata from the database.

Метод класса: Consent_Handler_Interface{}

Хуков нет.

Возвращает

null. Ничего (null).

Использование

$Consent_Handler_Interface = new Consent_Handler_Interface();
$Consent_Handler_Interface->revoke_consent( $user_id );
$user_id(int) (обязательный)
The user ID.

Код Consent_Handler_Interface::revoke_consent() Yoast 27.7

public function revoke_consent( int $user_id );