Re: Insert new array after specific key in multidimensional array
| From: | Micky Hulse | Date: | Tue, 28 Feb 2012 22:16:45 +0000 |
| Subject: | Re: Insert new array after specific key in multidimensional array | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-316791@lists.php.net to get a copy of this message | ||
Hi Adam!
On Tue, Feb 28, 2012 at 2:05 PM, Adam Richardson <simpleshot@gmail.com> wrote:
>> What would be the best way to insert $o_insert array into $o array
>> after specified key?
Great question. :D
Quick answer: It's a Wordpress thang!
Long answer: I am working with WordPress and the theme that I am using
stores all of its settings in a multidimensional array... The WP admin
displays the contents of the array as a GUI and the order of the array
is what dictates the display order.