/home/suroeste/public_html/wp-content/plugins/woocommerce/src/Blocks
NameSizeModeActions
AI/-0755rm
AIContent/-0755rm
Assets/-0755rm
BlockTypes/-0755rm
Domain/-0755rm
Images/-0755rm
Integrations/-0755rm
Interactivity/-0755rm
InteractivityComponents/-0755rm
Payments/-0755rm
Registry/-0755rm
Shipping/-0755rm
Templates/-0755rm
Utils/-0755rm
Assets.php28390644editdlrm
AssetsController.php144450644editdlrm
BlockPatterns.php127310644editdlrm
BlockTemplatesController.php236000644editdlrm
BlockTemplatesRegistry.php32960644editdlrm
BlockTypesController.php107010644editdlrm
InboxNotifications.php5830644editdlrm
Installer.php41800644editdlrm
Library.php10860644editdlrm
Migration.php32690644editdlrm
Options.php3360644editdlrm
Package.php32520644editdlrm
QueryFilters.php180380644editdlrm
Edit: /home/suroeste/public_html/wp-content/plugins/woocommerce/src/Blocks/BlockTemplatesRegistry.php (3296B)
new ProductCatalogTemplate(), ProductCategoryTemplate::SLUG => new ProductCategoryTemplate(), ProductTagTemplate::SLUG => new ProductTagTemplate(), ProductAttributeTemplate::SLUG => new ProductAttributeTemplate(), ProductSearchResultsTemplate::SLUG => new ProductSearchResultsTemplate(), CartTemplate::SLUG => new CartTemplate(), CheckoutTemplate::SLUG => new CheckoutTemplate(), OrderConfirmationTemplate::SLUG => new OrderConfirmationTemplate(), SingleProductTemplate::SLUG => new SingleProductTemplate(), ); } else { $templates = array(); } if ( Features::is_enabled( 'launch-your-store' ) ) { $templates[ ComingSoonTemplate::SLUG ] = new ComingSoonTemplate(); } if ( BlockTemplateUtils::supports_block_templates( 'wp_template_part' ) ) { $template_parts = array( MiniCartTemplate::SLUG => new MiniCartTemplate(), CheckoutHeaderTemplate::SLUG => new CheckoutHeaderTemplate(), ); } else { $template_parts = array(); } $this->templates = array_merge( $templates, $template_parts ); // Init all templates. foreach ( $this->templates as $template ) { $template->init(); } } /** * Returns the template matching the slug * * @param string $template_slug Slug of the template to retrieve. * * @return AbstractTemplate|AbstractTemplatePart|null */ public function get_template( $template_slug ) { if ( array_key_exists( $template_slug, $this->templates ) ) { $registered_template = $this->templates[ $template_slug ]; return $registered_template; } return null; } }