Home › Forums › Backend Issues (wp-admin) › Can I use the text area to generate multiple meta values? › Reply To: Can I use the text area to generate multiple meta values?
Hi @vierastalo
I’m sorry about that.
Could you please change this code:
foreach( $temporary_list as $i => $row ) {
$order[ $i ] = $row['film_name'];
}
array_multisort( $order, SORT_ASC, $temporary_list );
to this one:
$order = array();
foreach( $temporary_list as $i => $row ) {
$order[ $i ] = $row['film_name'];
}
array_multisort($order, SORT_ASC, SORT_STRING, $temporary_list );
Hope this helps!
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Privacy Policy. If you continue to use this site, you consent to our use of cookies.