Get an Array of Values from an ACF Repeater Choice SubField

Get an array of values from an ACF repeater sub-field choice box to use further in your code. So in the sap_colors sub-field above I want to capture the red,blue and green values into an array and have that array…
Output a random string on each page load in PHP

To output a random string from an array on each page load you can use the array_rand function in PHP. So in the above snippet the array is created and assigned to the $input variable, it is then output using echo…