Automattic\WooCommerce\Blocks\BlockTypes
ProductSearch{} WC 1.0
ProductSearch class.
Хуков нет.
Возвращает
null
. Null. Ничего.
Использование
$ProductSearch = new ProductSearch(); // use class methods
Методы
Код ProductSearch{} ProductSearch{} WC 5.2.1
class ProductSearch extends AbstractBlock {
/**
* Block name.
*
* @var string
*/
protected $block_name = 'product-search';
/**
* Get the frontend script handle for this block type.
*
* @param string $key Data to get, or default to everything.
* @return null
*/
protected function get_block_type_script( $key = null ) {
return null;
}
}