Created
June 22, 2016 17:35
-
-
Save nucab/ab67195759aa55a3153edddac2311a71 to your computer and use it in GitHub Desktop.
1
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if(! empty( $item->url ) && $item->url !== '#') { | |
unset($atts['data-toggle']); | |
unset($atts['class']); | |
unset($atts['aria-haspopup']); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment