use existing function to get supplier name

This commit is contained in:
Bilal Catic
2018-11-01 00:55:01 +01:00
parent 9e4ee644a0
commit b3ba1889b6
2 changed files with 1 additions and 15 deletions

View File

@@ -1,14 +0,0 @@
<?php
defined( 'ABSPATH' ) || exit;
/**
* Class Wiaas_Supplier
*/
class Wiaas_Supplier {
public static function get_name($supplier_id){
return wiaas_get_organization_name($supplier_id) ?: 'Unknown';
}
}