Skip to content

Instantly share code, notes, and snippets.

@artikus11
Last active November 13, 2022 18:55
Show Gist options
  • Save artikus11/72902378ac5ed20f183b9a32f2f29f22 to your computer and use it in GitHub Desktop.
Save artikus11/72902378ac5ed20f183b9a32f2f29f22 to your computer and use it in GitHub Desktop.
Уборка циклических ссылок в меню
@dmink
Copy link

dmink commented May 14, 2018

$out_link = '<li$1class="\\2current-menu-item\\3"><span>$5</span>';

Вот так проще работать с потерявшимися стилями

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment