WC_Integrations::__construct()
Initialize integrations.
Метод класса: WC_Integrations{}
Хуки из метода
Возвращает
null
. Ничего (null).
Использование
$WC_Integrations = new WC_Integrations(); $WC_Integrations->__construct();
Код WC_Integrations::__construct() WC Integrations:: construct WC 8.7.0
public function __construct() { do_action( 'woocommerce_integrations_init' ); $load_integrations = array( 'WC_Integration_MaxMind_Geolocation', ); $load_integrations = apply_filters( 'woocommerce_integrations', $load_integrations ); // Load integration classes. foreach ( $load_integrations as $integration ) { $load_integration = new $integration(); $this->integrations[ $load_integration->id ] = $load_integration; } }