Example #1
0
function wp_debug_print()
{
    echo wp_debug();
}
 /**
  * Finds the settings for the specified group inside the settings array.
  *
  * @since  2.0
  */
 protected function settings_for_group($settings, $group)
 {
     if (is_numeric($group) && $group > 0) {
         foreach ($settings as $data) {
             $item_group = @$data['csb_clone']['group'];
             $item_status = @$data['csb_clone']['state'];
             if ($group == $item_group && 'ok' == $item_status) {
                 return $data;
             }
         }
     }
     function_exists('wp_debug') && wp_debug('class-custom-sidebars-cloning.php:162', 'FAILED');
     return false;
 }