Automattic\WooCommerce\Internal\Abilities\Domain

ProductDelete::get_namepublic staticWC 10.9.0

Get the ability name.

Method of the class: ProductDelete{}

No Hooks.

Returns

String.

Usage

$result = ProductDelete::get_name(): string;

Changelog

Since 10.9.0 Introduced.

ProductDelete::get_name() code WC 11.0.1

public static function get_name(): string {
	return 'woocommerce/product-delete';
}