2017-08-11 58 views

回答

0

我不会使用树枝延伸。

为什么不能是这样的:

$rows = get_field('repeater_field'); 
if($rows) { 
    shuffle($rows); 

    foreach($rows as $row) { 
     // your code 
    } 
}