gkaroly

acf api.php

Aug 6th, 2017
156
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.16 KB | None | 0 0
  1. // merge sub arrays
  2. foreach( $options as $k => $v )
  3. {
  4.         if( is_array($v) )
  5.         {
  6.             $options[ $k ] = array_merge($defaults[ $k ], $options[ $k ]);
  7.         }
  8. }
Advertisement
Add Comment
Please, Sign In to add comment