Changeset 2687325
- Timestamp:
- 03/02/2022 09:05:27 AM (4 years ago)
- File:
-
- 1 edited
-
woo-product-table/trunk/admin/post_metabox.php (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
woo-product-table/trunk/admin/post_metabox.php
r2683657 r2687325 395 395 } 396 396 397 397 //Optimize for Desktop 398 398 if( isset( $submitte_data['column_settings'] ) && is_array( $submitte_data['column_settings'] ) ){ 399 399 $total_enable_coll_arr = $submitte_data['enabled_column_array']; 400 400 401 foreach( $submitte_data['column_settings'] as $each_settings ){ 401 402 $each_settings = isset( $each_settings['items'] ) && is_array( $each_settings['items'] ) ? array_flip( $each_settings['items'] ) : array(); … … 403 404 } 404 405 $total_enable_coll_arr = array_keys($total_enable_coll_arr); 406 $total_enable_coll_arr['thumb_variation'] = 'thumb_variation'; 407 $total_enable_coll_arr['title_variation'] = 'title_variation'; 408 $total_enable_coll_arr['description_off'] = 'description_off'; 405 409 406 410 foreach( $submitte_data['column_settings'] as $u_key => $Ueach_settings ){ … … 420 424 } 421 425 $total_enable_coll_arr = array_keys($total_enable_coll_arr); 426 $total_enable_coll_arr['thumb_variation'] = 'thumb_variation'; 427 $total_enable_coll_arr['title_variation'] = 'title_variation'; 428 $total_enable_coll_arr['description_off'] = 'description_off'; 422 429 423 430 foreach( $submitte_data['column_settings_tablet'] as $u_key => $Ueach_settings ){ … … 435 442 } 436 443 $total_enable_coll_arr = array_keys($total_enable_coll_arr); 444 $total_enable_coll_arr['thumb_variation'] = 'thumb_variation'; 445 $total_enable_coll_arr['title_variation'] = 'title_variation'; 446 $total_enable_coll_arr['description_off'] = 'description_off'; 437 447 438 448 foreach( $submitte_data['column_settings_mobile'] as $u_key => $Ueach_settings ){
Note: See TracChangeset
for help on using the changeset viewer.