WPCF7_Submission::collect_consent()publicCF7 1.0

Collects user consent data.

{} Это метод класса: WPCF7_Submission{}

Хуков нет.

Возвращает

Массив. User consent data.

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

$WPCF7_Submission = new WPCF7_Submission();
$WPCF7_Submission->collect_consent();

Код WPCF7_Submission::collect_consent() CF7 5.6.3

public function collect_consent() {
	return (array) $this->consent;
}