Automattic\WooCommerce\Internal\Admin
Coupons::get_instance()
Get class instance.
{} Это метод класса: Coupons{}
Хуков нет.
Возвращает
null
. Ничего.
Использование
$result = Coupons::get_instance();
Код Coupons::get_instance() Coupons::get instance WC 6.6.1
public static function get_instance() { if ( ! self::$instance ) { self::$instance = new self(); } return self::$instance; }