php display konten kustom acak di loop arsip toko wooCommerce

$input = array("<img src='/wp-content/uploads/2022/01/banner-test-01.svg'>", " 
<img src='/wp-content/uploads/2022/01/banner-test-02.svg'>", "<img src='/wp- 
content/uploads/2022/01/banner-test-03.svg'>");

$rand_keys = array_rand($input, 1);
echo $input[$rand_keys] . "\n";
SAMER SAEID