Automattic\WooCommerce\Internal\ProductFeed
ProductFeed::register_integration
Allows extensions to register integrations.
Метод класса: ProductFeed{}
Хуков нет.
Возвращает
null. Ничего (null).
Использование
$ProductFeed = new ProductFeed(); $ProductFeed->register_integration( $integration ): void;
- $integration(IntegrationInterface) (обязательный)
- The integration to register.
Список изменений
| С версии 10.5.0 | Введена. |
Код ProductFeed::register_integration() ProductFeed::register integration WC 10.5.2
public function register_integration( IntegrationInterface $integration ): void {
$this->integration_registry->register_integration( $integration );
}