ity block * in the Product Block Editor. * * @return array */ public function get_visible_product_types(): array { return array_diff( ProductSyncer::get_supported_product_types(), [ 'variation' ] ); } /** * Return the config used for the input's block within the Product Block Editor. * * @return array */ public function get_block_config(): array { $options = []; foreach ( ChannelVisibility::get_value_options() as $key => $value ) { $options[] = [ 'label' => $value, 'value' => $key, ]; } $attributes = [ 'property' => self::PROPERTY, 'options' => $options, 'valueOfSync' => ChannelVisibility::SYNC_AND_SHOW, 'valueOfDontSync' => ChannelVisibility::DONT_SYNC_AND_SHOW, 'statusOfSynced' => SyncStatus::SYNCED, 'statusOfHasErrors' => SyncStatus::HAS_ERRORS, ]; return [ 'id' => 'google-listings-and-ads-product-channel-visibility', 'blockName' => 'google-listings-and-ads/product-channel-visibility', 'attributes' => $attributes, ]; } }
Warning: class_implements(): Class Automattic\WooCommerce\GoogleListingsAndAds\Admin\Product\ChannelVisibilityBlock does not exist and could not be loaded in /htdocs/wp-content/plugins/google-listings-and-ads/src/Internal/DependencyManagement/AbstractServiceProvider.php on line 73

Warning: foreach() argument must be of type array|object, bool given in /htdocs/wp-content/plugins/google-listings-and-ads/src/Internal/DependencyManagement/AbstractServiceProvider.php on line 73

Fatal error: Trait "Automattic\WooCommerce\GoogleListingsAndAds\API\Google\ShoppingContentDateTrait" not found in /htdocs/wp-content/plugins/google-listings-and-ads/src/API/Google/MerchantReport.php on line 28