Home
*
*
*
* @package Customizr
* @subpackage classes
* @since 3.0
* @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
*/
if ( ! class_exists( 'TC_nav_walker' ) ) :
class TC_nav_walker extends Walker_Nav_Menu {
static $instance;
function __construct () {
self::$instance =& $this;
}
function check_current( $classes) {
return preg_match( '/(current[-_])|active|dropdown/' , $classes);
}
function start_lvl(&$output, $depth = 0, $args = array()) {
$output .= "\n