/** * Checks which grid is currently supported and returns correct config file * * @since 0.1.0 * * @return string grid configuration file name */ function genfound_get_grid() { if (genfound_flex_grid_supported() === true) { $grid_file = 'grid-config-flex.php'; } else { $grid_file = 'grid-config-float.php'; } return $grid_file; }
function genfound_debug() { $debug = genfound_flex_grid_supported(); echo $debug ? 'true' : 'false'; }