Skip to content

Commit

Permalink
fix: remove SMS and App from demo settings options (#284)
Browse files Browse the repository at this point in the history
  • Loading branch information
johnhooks authored Apr 20, 2023
1 parent c070577 commit 4d46e31
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions includes/demo.php
Original file line number Diff line number Diff line change
Expand Up @@ -137,8 +137,6 @@ public function get_columns(): array {
'show' => __( 'Show in:' ),
'admin' => __( 'Admin' ),
'email' => __( 'Email' ),
'sms' => __( 'Sms' ),
'app' => __( 'App' ),
);
}

Expand Down Expand Up @@ -182,8 +180,6 @@ private function table_data(): array {
'show' => '',
'admin' => '<input type="checkbox" id="cb-admin-' . $i . '" />',
'email' => '<input type="checkbox" id="cb-email-' . $i . '" />',
'sms' => '<input type="checkbox" id="cb-sms-' . $i . '" />',
'app' => '<input type="checkbox" id="cb-app-' . $i . '" />',
);
}
return $data;
Expand All @@ -196,8 +192,6 @@ public function column_default( $item, $column_name ) {
case 'show':
case 'admin':
case 'email':
case 'sms':
case 'app':
return $item[ $column_name ];

default:
Expand Down

0 comments on commit 4d46e31

Please sign in to comment.