Automattic\WooCommerce\EmailEditor\Engine
Personalizer::get_context
Get the current context.
The context is an associative array containing recipient-specific or campaign-specific data. This data is used to resolve personalization tags and provide input for tag callbacks during email content processing.
Method of the class: Personalizer{}
No Hooks.
Returns
Array
Usage
$Personalizer = new Personalizer(); $Personalizer->get_context(): array;
Personalizer::get_context() Personalizer::get context code WC 10.8.1
public function get_context(): array {
return $this->context;
}