Title: islp's Replies | WordPress.org

---

# islp

  [  ](https://wordpress.org/support/users/islp/)

 *   [Profile](https://wordpress.org/support/users/islp/)
 *   [Topics Started](https://wordpress.org/support/users/islp/topics/)
 *   [Replies Created](https://wordpress.org/support/users/islp/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/islp/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/islp/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/islp/engagements/)
 *   [Favorites](https://wordpress.org/support/users/islp/favorites/)

 Search replies:

## Forum Replies Created

Viewing 15 replies - 1 through 15 (of 336 total)

1 [2](https://wordpress.org/support/users/islp/replies/page/2/?output_format=md)
[3](https://wordpress.org/support/users/islp/replies/page/3/?output_format=md) …
[21](https://wordpress.org/support/users/islp/replies/page/21/?output_format=md)
[22](https://wordpress.org/support/users/islp/replies/page/22/?output_format=md)
[23](https://wordpress.org/support/users/islp/replies/page/23/?output_format=md)
[→](https://wordpress.org/support/users/islp/replies/page/2/?output_format=md)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP Logger] Execution time](https://wordpress.org/support/topic/execution-time-3/)
 *  Thread Starter [islp](https://wordpress.org/support/users/islp/)
 * (@islp)
 * [3 weeks, 3 days ago](https://wordpress.org/support/topic/execution-time-3/#post-18857444)
 * [@igortron](https://wordpress.org/support/users/igortron/) This is what I’ve 
   done recently for my plugins: I have many custom plugins in the same website 
   and ANY plugin uses a bunch of identical static methods. I moved any methods 
   to mu-plugins and removed the local copies in any single custom plugin directory(
   avoided duplication)
    -  This reply was modified 3 weeks, 3 days ago by [islp](https://wordpress.org/support/users/islp/).
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP Logger] Execution time](https://wordpress.org/support/topic/execution-time-3/)
 *  Thread Starter [islp](https://wordpress.org/support/users/islp/)
 * (@islp)
 * [3 weeks, 3 days ago](https://wordpress.org/support/topic/execution-time-3/#post-18857442)
 * [@igortron](https://wordpress.org/support/users/igortron/) Interesting solution,
   thanks 🙂
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP Logger] Execution time](https://wordpress.org/support/topic/execution-time-3/)
 *  Thread Starter [islp](https://wordpress.org/support/users/islp/)
 * (@islp)
 * [3 weeks, 3 days ago](https://wordpress.org/support/topic/execution-time-3/#post-18857011)
 * [@igortron](https://wordpress.org/support/users/igortron/) ok, but I’m not sure
   this covers all the possible scenarios (that is maybe my plugin under some circumstances
   fires before all the plugins are loaded)
 *   Forum: [Developing with WordPress](https://wordpress.org/support/forum/wp-advanced/)
   
   In reply to: [Plugin of utils being called from other plugins](https://wordpress.org/support/topic/plugin-of-utils-being-called-from-other-plugins/)
 *  Thread Starter [islp](https://wordpress.org/support/users/islp/)
 * (@islp)
 * [1 month ago](https://wordpress.org/support/topic/plugin-of-utils-being-called-from-other-plugins/#post-18844830)
 * [@ryanmax22](https://wordpress.org/support/users/ryanmax22/) checking for the
   existence of a method or class is partially useful: as I told before, if you 
   do that, then you need to cover the case when the class is not available (this
   means other code and complexity). Anyway, in my particular scenario (so NOT universally
   speaking) the mu-plugins idea is just perfect 🙂
 *   Forum: [Developing with WordPress](https://wordpress.org/support/forum/wp-advanced/)
   
   In reply to: [Plugin of utils being called from other plugins](https://wordpress.org/support/topic/plugin-of-utils-being-called-from-other-plugins/)
 *  Thread Starter [islp](https://wordpress.org/support/users/islp/)
 * (@islp)
 * [1 month ago](https://wordpress.org/support/topic/plugin-of-utils-being-called-from-other-plugins/#post-18844730)
 * [@catacaustic](https://wordpress.org/support/users/catacaustic/)
 * No: any custom plugin needs this plugin that contains common functionalities.
 * As explained by another user, requiring (plugin dependencies) is not effective.
 * I solved by using the mu-plugins directory that loads before the plugins are 
   loaded: there I put traits and static methods any plugin in any namespace can
   easily and safely use.
 *   Forum: [Developing with WordPress](https://wordpress.org/support/forum/wp-advanced/)
   
   In reply to: [Plugin of utils being called from other plugins](https://wordpress.org/support/topic/plugin-of-utils-being-called-from-other-plugins/)
 *  Thread Starter [islp](https://wordpress.org/support/users/islp/)
 * (@islp)
 * [1 month, 1 week ago](https://wordpress.org/support/topic/plugin-of-utils-being-called-from-other-plugins/#post-18840426)
 * [@alessandro12](https://wordpress.org/support/users/alessandro12/) That’s absolutely
   fine, but at that point you need a clear strategy: what happens if the plugin
   isn’t active? I feel that this would end up overcomplicating something that should
   be much simpler (at least, in my scenario). Anyway, even if I could create a 
   sort of “master plugin”, I ended up moving my static methods to a custom mu-plugins
   directory
 *   Forum: [Developing with WordPress](https://wordpress.org/support/forum/wp-advanced/)
   
   In reply to: [Plugin of utils being called from other plugins](https://wordpress.org/support/topic/plugin-of-utils-being-called-from-other-plugins/)
 *  Thread Starter [islp](https://wordpress.org/support/users/islp/)
 * (@islp)
 * [1 month, 1 week ago](https://wordpress.org/support/topic/plugin-of-utils-being-called-from-other-plugins/#post-18840311)
 * [@bcworkz](https://wordpress.org/support/users/bcworkz/) ok, thanks. In my specific
   case, method calls come way after the plugins are loaded, so it could be safe
   to use any class. Another option would be the mu-plugins directory but I red 
   sometimes it gets attacked.
 * I don’t know who removed the AI generated answer but it was a good thing to do
   it.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[SMTP for Contact Form 7] CF7 stats in the Subscribers’ profile dashboard](https://wordpress.org/support/topic/cf7-stats-in-the-subscribers-profile-dashboard/)
 *  Thread Starter [islp](https://wordpress.org/support/users/islp/)
 * (@islp)
 * [1 month, 2 weeks ago](https://wordpress.org/support/topic/cf7-stats-in-the-subscribers-profile-dashboard/page/2/#post-18832155)
 * Hi [@codekraft](https://wordpress.org/support/users/codekraft/) , I am very pleased
   with all the changes you have made to the plugin, but unfortunately, I am unable
   to assist you personally at this time. 🙁
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[SMTP for Contact Form 7] CF7 stats in the Subscribers’ profile dashboard](https://wordpress.org/support/topic/cf7-stats-in-the-subscribers-profile-dashboard/)
 *  Thread Starter [islp](https://wordpress.org/support/users/islp/)
 * (@islp)
 * [2 months ago](https://wordpress.org/support/topic/cf7-stats-in-the-subscribers-profile-dashboard/#post-18818451)
 * [@codekraft](https://wordpress.org/support/users/codekraft/) I mentioned it since
   we’ve been talking so casually, almost like we were chatting. I didn’t even think
   it was a big enough deal to bring up in a whole new conversation.
 * Cheers
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[SMTP for Contact Form 7] CF7 stats in the Subscribers’ profile dashboard](https://wordpress.org/support/topic/cf7-stats-in-the-subscribers-profile-dashboard/)
 *  Thread Starter [islp](https://wordpress.org/support/users/islp/)
 * (@islp)
 * [2 months ago](https://wordpress.org/support/topic/cf7-stats-in-the-subscribers-profile-dashboard/#post-18818220)
 * [@codekraft](https://wordpress.org/support/users/codekraft/) I found this one
   in debug.log but I have no time to investigate further:
 * [11-Feb-2026 13:48:04 UTC] cf7_smtp: Failed to set From and Sender: Invalid address:(
   From):
   [11-Feb-2026 13:48:04 UTC] cf7_smtp: From mail empty/invalid. Fallback
   to admin_email: (my email here)[11-Feb-2026 13:48:59 UTC] cf7_smtp: Failed to
   set From and Sender: Invalid address: (From):[11-Feb-2026 13:48:59 UTC] cf7_smtp:
   From mail empty/invalid. Fallback to admin_email: (my email here)I had no issue
   at all with your plugin, so I don’t know where this is coming from and why.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[SMTP for Contact Form 7] CF7 stats in the Subscribers’ profile dashboard](https://wordpress.org/support/topic/cf7-stats-in-the-subscribers-profile-dashboard/)
 *  Thread Starter [islp](https://wordpress.org/support/users/islp/)
 * (@islp)
 * [2 months ago](https://wordpress.org/support/topic/cf7-stats-in-the-subscribers-profile-dashboard/#post-18818187)
 * 🙂
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[SMTP for Contact Form 7] CF7 stats in the Subscribers’ profile dashboard](https://wordpress.org/support/topic/cf7-stats-in-the-subscribers-profile-dashboard/)
 *  Thread Starter [islp](https://wordpress.org/support/users/islp/)
 * (@islp)
 * [2 months ago](https://wordpress.org/support/topic/cf7-stats-in-the-subscribers-profile-dashboard/#post-18818165)
 * Please, [@codekraft](https://wordpress.org/support/users/codekraft/), do it for
   me, I deleted my github account some years ago and I’d prefer not to sign up 
   again 🙂
   No problem for the tests, they were just basic stuff
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[SMTP for Contact Form 7] CF7 stats in the Subscribers’ profile dashboard](https://wordpress.org/support/topic/cf7-stats-in-the-subscribers-profile-dashboard/)
 *  Thread Starter [islp](https://wordpress.org/support/users/islp/)
 * (@islp)
 * [2 months ago](https://wordpress.org/support/topic/cf7-stats-in-the-subscribers-profile-dashboard/#post-18818090)
 * Done in a few minutes 🙂
   Local setup with the good old XAMPP, PHP 8.2.12, Apache,
   etc.
 * I only install 2 plugins: CF7 and yours.
   I only have two users, ad admin and 
   a subscriber.
 * If I login as a Subscriber, I regularly see the “Stats for CF7 SMTP” widget in
   the dashboard.
   If I replace your code with mine, it works as expected (that is:
   only the admin dashboard “features” the widget) 🙂
    -  This reply was modified 2 months ago by [islp](https://wordpress.org/support/users/islp/).
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[SMTP for Contact Form 7] CF7 stats in the Subscribers’ profile dashboard](https://wordpress.org/support/topic/cf7-stats-in-the-subscribers-profile-dashboard/)
 *  Thread Starter [islp](https://wordpress.org/support/users/islp/)
 * (@islp)
 * [2 months ago](https://wordpress.org/support/topic/cf7-stats-in-the-subscribers-profile-dashboard/#post-18818066)
 * I currently use Wp-members and User role editor but Subscribers is a standard
   role, so I’m not sure there’s any relationship. In a couple of hours I could 
   set up WP locally without any plugin except yours and give it a try.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[SMTP for Contact Form 7] CF7 stats in the Subscribers’ profile dashboard](https://wordpress.org/support/topic/cf7-stats-in-the-subscribers-profile-dashboard/)
 *  Thread Starter [islp](https://wordpress.org/support/users/islp/)
 * (@islp)
 * [2 months ago](https://wordpress.org/support/topic/cf7-stats-in-the-subscribers-profile-dashboard/#post-18817969)
 * I confirm: as a regular Subscriber (so without using any plugin to impersonate
   a particular role) I can actually see the CF7 Stats widget in my dashboard.

Viewing 15 replies - 1 through 15 (of 336 total)

1 [2](https://wordpress.org/support/users/islp/replies/page/2/?output_format=md)
[3](https://wordpress.org/support/users/islp/replies/page/3/?output_format=md) …
[21](https://wordpress.org/support/users/islp/replies/page/21/?output_format=md)
[22](https://wordpress.org/support/users/islp/replies/page/22/?output_format=md)
[23](https://wordpress.org/support/users/islp/replies/page/23/?output_format=md)
[→](https://wordpress.org/support/users/islp/replies/page/2/?output_format=md)