| @@ -77,9 +77,8 @@ | ||
| 77 | 77 | */ |
| 78 | 78 | public function modify_coupon_list_table_columns( $columns, $posts ) { |
| 79 | 79 | $columns['labels'] = [ |
| 80 | 80 | esc_html__( 'Author', 'sellkit' ), |
| 81 | - esc_html__( 'Created at', 'sellkit' ), | |
| 82 | 81 | ]; |
| 83 | 82 | |
| 84 | 83 | foreach ( $posts as $post ) { |
| 85 | 84 | $author_id = get_post_field( 'post_author', $post->ID ); |
| @@ -89,9 +88,8 @@ | ||
| 89 | 88 | 'param' => 'author__in', |
| 90 | 89 | 'type' => 'search', |
| 91 | 90 | 'value' => $author_id, |
| 92 | 91 | ], |
| 93 | - get_the_date( 'Y/m/d h:i A', $post->ID ), | |
| 94 | 92 | ]; |
| 95 | 93 | } |
| 96 | 94 | |
| 97 | 95 | return $columns; |
| @@ -106,9 +104,8 @@ | ||
| 106 | 104 | */ |
| 107 | 105 | public function modify_discount_list_table_columns( $columns, $posts ) { |
| 108 | 106 | $columns['labels'] = [ |
| 109 | 107 | __( 'Author', 'sellkit' ), |
| 110 | - __( 'Created at', 'sellkit' ), | |
| 111 | 108 | ]; |
| 112 | 109 | |
| 113 | 110 | foreach ( $posts as $post ) { |
| 114 | 111 | $author_id = get_post_field( 'post_author', $post->ID ); |
| @@ -118,9 +115,8 @@ | ||
| 118 | 115 | 'param' => 'author__in', |
| 119 | 116 | 'type' => 'search', |
| 120 | 117 | 'value' => $author_id, |
| 121 | 118 | ], |
| 122 | - get_the_date( 'Y/m/d h:i A', $post->ID ), | |
| 123 | 119 | ]; |
| 124 | 120 | } |
| 125 | 121 | |
| 126 | 122 | return $columns; |
| @@ -135,9 +131,8 @@ | ||
| 135 | 131 | */ |
| 136 | 132 | public function modify_alert_list_table_columns( $columns, $posts ) { |
| 137 | 133 | $columns['labels'] = [ |
| 138 | 134 | esc_html__( 'Author', 'sellkit' ), |
| 139 | - esc_html__( 'Created at', 'sellkit' ), | |
| 140 | 135 | ]; |
| 141 | 136 | |
| 142 | 137 | foreach ( $posts as $post ) { |
| 143 | 138 | $author_id = get_post_field( 'post_author', $post->ID ); |
| @@ -147,9 +142,8 @@ | ||
| 147 | 142 | 'param' => 'author__in', |
| 148 | 143 | 'type' => 'search', |
| 149 | 144 | 'value' => $author_id, |
| 150 | 145 | ], |
| 151 | - get_the_date( 'Y/m/d h:i A', $post->ID ), | |
| 152 | 146 | ]; |
| 153 | 147 | } |
| 154 | 148 | |
| 155 | 149 | return $columns; |
| @@ -165,9 +159,8 @@ | ||
| 165 | 159 | */ |
| 166 | 160 | public function modify_funnel_list_table_columns( $columns, $posts ) { |
| 167 | 161 | $columns['labels'] = [ |
| 168 | 162 | __( 'Author', 'sellkit' ), |
| 169 | - __( 'Created at', 'sellkit' ), | |
| 170 | 163 | ]; |
| 171 | 164 | |
| 172 | 165 | foreach ( $posts as $post ) { |
| 173 | 166 | $author_id = get_post_field( 'post_author', $post->ID ); |
| @@ -177,9 +170,8 @@ | ||
| 177 | 170 | 'param' => 'author__in', |
| 178 | 171 | 'type' => 'search', |
| 179 | 172 | 'value' => $author_id, |
| 180 | 173 | ], |
| 181 | - get_the_date( 'Y/m/d h:i A', $post->ID ), | |
| 182 | 174 | ]; |
| 183 | 175 | } |
| 184 | 176 | |
| 185 | 177 | return $columns; |