Skip to main content

All Questions

Filter by
Sorted by
Tagged with
1 vote
2 answers
2k views

Detect when any plugin is activated or deactivated

I have a starter theme I use for most websites I built myself. Because each site has different plugin dependencies, I'm trying to create a script that essentially collates a list of all plugins ...
Tex0gen's user avatar
  • 572
1 vote
0 answers
35 views

Are functions in main plugin file called before function bound to register_activation_hook runs?

In my plugin, I am doing a minimum-supported PHP version compatibility check via a function bound to register_activation_hook and halting activation for those on PHP version less than the minimum ...
learning_13's user avatar
0 votes
1 answer
2k views

Advanced WordPress plugin activation detection

I'm testing the plugin activation detection because something went wrong in my plugin. I discovered the problem, but didn't understand it: I'm trying to check for plugins activation (others and my ...
Maxwell s.c's user avatar
1 vote
1 answer
3k views

WordPress user account activation

How do I implement user account activation in WordPress? (This is not for multisite.) Once the user registers through the site or admin panel, the user should get an email with an activation link. ...
Anshad Vattapoyil's user avatar
0 votes
4 answers
8k views

register_activation_hook in oop approach

I tried to develop a plugin in OOP approach. I tried to load all the function needed inside the constructor class e.g action hooks. The problem is this hook "register_activation_hook". It wont load ...
Yves Gonzaga's user avatar