This commit is contained in:
Almira Krdzic
2018-10-21 02:13:57 +02:00
parent a61edbc984
commit 5cbdb482f2
12 changed files with 36 additions and 120 deletions

View File

@@ -54,7 +54,7 @@ class Wiaas_Package_Type {
$types = apply_filters('wiaas_package_types', array('standard'));
foreach ($types as $type) {
wp_insert_term($type, 'package_type');
wp_update_term($type, 'package_type');
}
}