に基づいてこの多次元配列をソートしようとしています[sort_order]
。
関連する多くのトピックを検索しましたが、成功しませんでした
ここで少し手伝ってもらえますか?
目的は、配列を並べ替えて、次の順序で配列を取得できるようにすることです: 1 - [post_images]
2 - [localizacao]
3 - [post_title]
4 -[category]
ありがとうございます。
Array
(
[[#taxonomy_name#]] => Array
(
[post_title] => Array
(
[name] => post_title
[show_in_email] => 1
[sort_order] => 3
[options] => Array
(
[0] =>
)
)
[post_images] => Array
(
[name] => post_images
[is_active] => 1
[show_on_listing] => 1
[show_on_detail] => 1
[sort_order] => 1
[options] => Array
(
[0] =>
)
)
[category] => Array
(
[name] => category
[is_require] => 1
[is_active] => 1
[show_on_listing] => 1
[show_on_detail] => 1
[show_in_email] => 1
[sort_order] => 4
[options] => Array
(
[0] =>
)
)
[localizacao] => Array
(
[name] => localizacao
[label] => Localização
[htmlvar_name] => localizacao
[sort_order] => 2
[options] => Array
(
[0] =>
)
)
)
)