Merge pull request #467 from thedigitalengine/master

Making the class pluggable - Thx @bruceconlon  !
This commit is contained in:
Holger 2017-11-23 11:10:18 +01:00 committed by GitHub
commit 7d4c714cee
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 0 deletions

View File

@ -11,6 +11,8 @@ if ( ! defined( 'ABSPATH' ) ) {
exit; exit;
} }
if (! class_exists ( 'WP_Bootstrap_Navwalker' )) :
/** /**
* Class WP_Bootstrap_Navwalker * Class WP_Bootstrap_Navwalker
* GitHub URI: https://github.com/twittem/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 */