2017-08-11 58 views

回答

0

我不會使用樹枝延伸。

爲什麼不能是這樣的:

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

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