REDROOM
PHP 8.2.31
Path:
Logout
Edit File
Size: 2.25 KB
Close
/home/nshryvcy/radiantskinclinics.org/wp-content/plugins/woocommerce/src/Internal/ProductFeed/ProductFeed.php
Text
Base64
<?php /** * Plugin class. * * @package Automattic\WooCommerce\Internal\ProductFeed */ declare(strict_types=1); namespace Automattic\WooCommerce\Internal\ProductFeed; use Automattic\WooCommerce\Internal\ProductFeed\Integrations\IntegrationInterface; use Automattic\WooCommerce\Internal\RegisterHooksInterface; use Automattic\WooCommerce\Internal\ProductFeed\Integrations\IntegrationRegistry; use Automattic\WooCommerce\Internal\ProductFeed\Integrations\POSCatalog\POSIntegration; if ( ! defined( 'ABSPATH' ) ) { exit; } /** * Main Product Feed class. * * @since 10.5.0 */ final class ProductFeed implements RegisterHooksInterface { /** * Integration registry. * * @var IntegrationRegistry */ private IntegrationRegistry $integration_registry; /** * Dependency injector. * * @param IntegrationRegistry $integration_registry The integration registry. * @param POSIntegration $pos_integration The POS integration. * @internal */ public function init( // phpcs:ignore WooCommerce.Functions.InternalInjectionMethod.MissingFinal IntegrationRegistry $integration_registry, POSIntegration $pos_integration ): void { $this->integration_registry = $integration_registry; $this->integration_registry->register_integration( $pos_integration ); } /** * Allows extensions to register integrations. * * @since 10.5.0 * @param IntegrationInterface $integration The integration to register. * @return void */ public function register_integration( IntegrationInterface $integration ): void { $this->integration_registry->register_integration( $integration ); } /** * Initialize plugin components * * @since 10.5.0 */ public function register(): void { // Let all integrations register their hooks. foreach ( $this->integration_registry->get_integrations() as $integration ) { $integration->register_hooks(); } } /** * Plugin activation * * @since 10.5.0 */ public function activate(): void { foreach ( $this->integration_registry->get_integrations() as $integration ) { $integration->activate(); } } /** * Plugin deactivation * * @since 10.5.0 */ public function deactivate(): void { foreach ( $this->integration_registry->get_integrations() as $integration ) { $integration->deactivate(); } } }
Save
Close
Exit & Reset
Text mode: syntax highlighting auto-detects file type.
Directory Contents
Dirs: 4 × Files: 1
Delete Selected
Select All
Select None
Sort:
Name
Size
Modified
Enable drag-to-move
Name
Size
Perms
Modified
Actions
Feed
DIR
-
drwxr-xr-x
2026-05-29 02:43:21
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
Integrations
DIR
-
drwxr-xr-x
2026-05-29 02:43:21
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
Storage
DIR
-
drwxr-xr-x
2026-05-29 02:43:21
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
Utils
DIR
-
drwxr-xr-x
2026-05-29 02:43:21
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
ProductFeed.php
2.25 KB
lrw-r--r--
2026-01-19 14:46:18
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
Zip Selected
If ZipArchive is unavailable, a
.tar
will be created (no compression).