Merge pull request #467 from thedigitalengine/master
Making the class pluggable - Thx @bruceconlon !
This commit is contained in:
commit
7d4c714cee
|
@ -11,6 +11,8 @@ if ( ! defined( 'ABSPATH' ) ) {
|
|||
exit;
|
||||
}
|
||||
|
||||
if (! class_exists ( 'WP_Bootstrap_Navwalker' )) :
|
||||
|
||||
/**
|
||||
* Class WP_Bootstrap_Navwalker
|
||||
* GitHub URI: https://github.com/twittem/wp-bootstrap-navwalker
|
||||
|
@ -210,3 +212,5 @@ class WP_Bootstrap_Navwalker extends Walker_Nav_Menu {
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
endif; /* End if class exists */
|
||||
|
|
Reference in New Issue