Sorting callback for items
public static sort_items ( SimplePie $a, SimplePie $b ) : boolean | ||
$a | SimplePie | |
$b | SimplePie | |
return | boolean |
/** * Take the namespaced function and make it global so that it can be called by usort(). */ function sort_items($a, $b) { return SimplePie::sort_items($a, $b); }
function _plan_multifeed_sort_items($a, $b) { $array = SimplePie::sort_items($a, $b); return $array; }
function plan_multifeed_sort_items($a, $b) { profile('rss_sort'); $array = SimplePie::sort_items($a, $b); profile('rss_sort'); return $array; }