Automattic\WooCommerce\Internal\StockNotifications\Emails

EmailActionController::__construct │ public │ WC 1.0

EmailActionController constructor.

Initializes the controller by adding actions to process verification and unsubscribe actions from requests.

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

Хуков нет.

Возвращает

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

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

$EmailActionController = new EmailActionController();
$EmailActionController->__construct();

Код EmailActionController::__construct() WC 11.2.2

public function __construct() {
	add_action( 'template_redirect', array( $this, 'maybe_process_email_action' ) );
}