Remove unused shortcodes in backend, TinyMce content area
-
Are you aware of any side effects using it ?
I tried it with your code and it works. Would be nice to hide it in backend in TinyMce content area, so Users are not bothered with unused shortcodes there too.
(content_edit_pre filter)
add_filter('content_edit_pre', 'remove_orphan_shortcodes', 0);
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Remove unused shortcodes in backend, TinyMce content area’ is closed to new replies.