Server IP : 104.21.14.103 / Your IP : 3.133.111.49 Web Server : LiteSpeed System : Linux business53.web-hosting.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64 User : giankuin ( 1871) PHP Version : 7.4.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /proc/self/root/home/giankuin/dietcontrungnhanh.com/wp-content/plugins/woocommerce/src/Admin/Features/ProductBlockEditor/ProductTemplates/ |
Upload File : |
<?php namespace Automattic\WooCommerce\Admin\Features\ProductBlockEditor\ProductTemplates; use Automattic\WooCommerce\Admin\BlockTemplates\BlockInterface; use Automattic\WooCommerce\Admin\BlockTemplates\BlockTemplateInterface; /** * Interface for block containers. */ interface ProductFormTemplateInterface extends BlockTemplateInterface { /** * Adds a new group block. * * @param array $block_config block config. * @return GroupInterface new group block. */ public function add_group( array $block_config ): GroupInterface; /** * Gets Group block by id. * * @param string $group_id group id. * @return GroupInterface|null */ public function get_group_by_id( string $group_id ): ?GroupInterface; /** * Gets Section block by id. * * @param string $section_id section id. * @return SectionInterface|null */ public function get_section_by_id( string $section_id ): ?SectionInterface; /** * Gets subsection block by id. * * @param string $subsection_id subsection id. * @return SubsectionInterface|null */ public function get_subsection_by_id( string $subsection_id ): ?SubsectionInterface; /** * Gets Block by id. * * @param string $block_id block id. * @return BlockInterface|null */ public function get_block_by_id( string $block_id ): ?BlockInterface; }