Using TGMPA with multiple plugins/themes

Question

I’m working on a plugin that uses the TGMPA library, and we wanted the message to say "X recommends the following plugin:" with X being the name of the plugin.

Everything is working fine except I’ve noticed that if multiple plugins or the theme is also using TGMPA to recommend plugins, it will use "X recommends the following plugin:" for all of the recommendations including the ones coming from other plugins or the theme.

Is there a way to configure TGMPA so that the custom message we set only shows for the recommendations coming from our plugins?

0
Jsilver 4 months 2020-12-17T18:10:27-05:00 0 Answers 8 views 0

Leave an answer

Browse
Browse