Skip to:
Content
Pages
Categories
Search
Top
Bottom

How to detect if a plugin installed or not?


  • imjscn
    Participant

    @imjscn

    I need to use a function from a plugin, can I just use it straight? or should I add a condition of “if …plugin is installed’?
    My guess is– adding a condition can avoid error message. But I don’t know how to write this condition. Need help!

    Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)

  • Virtuali
    Participant

    @gunju2221

    You can always avoid an error with this statement:

    Put the function between the ”, if the function does exist, it will appear, if it doesn’t, it will just simply do nothing.


    imjscn
    Participant

    @imjscn

    Great!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘How to detect if a plugin installed or not?’ is closed to new replies.
Skip to toolbar