Explorar o código

Update option-functions.php

Adding hidestatus
Jesse Hickman %!s(int64=4) %!d(string=hai) anos
pai
achega
d9fbd302b3
Modificáronse 1 ficheiros con 6 adicións e 0 borrados
  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',