WC_Data_Store::has_callable()
Check if the data store we are working with has a callable method.
Метод класса: WC_Data_Store{}
Хуков нет.
Возвращает
true|false
. Whether the passed method is callable.
Использование
$WC_Data_Store = new WC_Data_Store(); $WC_Data_Store->has_callable( $method ) : bool;
- $method(строка) (обязательный)
- Method name.
Код WC_Data_Store::has_callable() WC Data Store::has callable WC 9.5.1
public function has_callable( string $method ) : bool { return is_callable( array( $this->instance, $method ) ); }