1

How does the return value true or false affects other plugins of the same group? Does it prevent other plugins from executing when returning false?

  • 1
    no. But I presume you’re asking for a reason? – jamesgarrett Jan 29 '18 at 21:28
  • @jamesgarrett Yes indeed. I'm interested in the reason. And mainly how it works. – application2000 Jan 30 '18 at 13:30
1

The outcome of the plugin output will affect overall process flow but not other plugins.

Examples

  • onContentBeforeSave is a content event. If you return false, the article will not be saved and the error will be shown to the user.
  • onContentAfterTitle returns a string value and it will be shown after article title.

However, the execution of other plugins will not be affected by this return value.

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.