瀏覽代碼

Update option-functions.php

Adding hidestatus
Jesse Hickman 4 年之前
父節點
當前提交
d9fbd302b3
共有 1 個文件被更改,包括 6 次插入0 次删除
  1. 6 0
      api/functions/option-functions.php

+ 6 - 0
api/functions/option-functions.php

@@ -287,6 +287,12 @@ trait OptionsFunction
 					'label' => 'Hide Completed',
 				];
 				break;
+			case 'hidestatus':
+				$settingMerge = [
+					'type' => 'switch',
+					'label' => 'Hide Status',
+				];
+				break;
 			case 'limit':
 				$settingMerge = [
 					'type' => 'number',