Support » Plugin: Remove Orphan Shortcodes » Remove unused shortcodes in backend, TinyMce content area

  • Resolved Stagger Lee

    (@stagger-lee)


    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)
  • Plugin Author Meks

    (@mekshq)

    As far as we know there are none “critical” which plugin may cause. It should work fine with any common WordPress setup.

    Thanks for your suggestion, it may be a nice idea, however I wonder if people would like to hide shortcodes in the backend, that way it may cause a confusion.

    Cheers,
    Meks team

    Stagger Lee

    (@stagger-lee)

    Hi Meks,

    best would be to add few GUI options to plugin, to remove it from backend for all Roles under Administrators. (or directly in code, very good enough)

    Maybe it is not good thing for Admins to forget database is cluttered with unused shortcodes. But I personally think it is just confusing for beginners and simple Users. They have no clue what it is for something.

    • This reply was modified 2 years ago by  Stagger Lee.
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Remove unused shortcodes in backend, TinyMce content area’ is closed to new replies.