Plugin Directory

Changeset 2765269


Ignore:
Timestamp:
08/02/2022 03:40:27 PM (4 years ago)
Author:
myscoot
Message:

Resolve shorting issue with categorize type 4

File:
1 edited

Legend:

Unmodified
Added
Removed
  • exly-wp/trunk/public/class-exly-wp-public.php

    r2764965 r2765269  
    358358
    359359                   }
     360                  foreach ($cat3Data['skus'] as $key => &$genre) {
     361          usort($genre, function($a,$b){         
     362              return ($a["priority"] <= $b["priority"]) ? -1 : 1;           
     363
     364          });
     365        }
    360366                   return $cat3Data;
    361367            endif;
Note: See TracChangeset for help on using the changeset viewer.