Custom Plugin activation error in Multisite
Custom Plugin activation error in Multisite
Custom Plugin activation error in Multisite
For subsite only registration this is not possible with WordPress by default have a look at https://wordpress.org/plugins/network-subsite-user-registration/
I was including the wrong file. Instead of update.php I should include upgrade.php. I know it’s a silly mistake but maybe help someone who does the same in future.
My WordPress activation hook isn’t working
how to enable/activate a plugin per Cpanel
How to check for already existing plugin versions on activation? and prevent errors
Fixed by installing and setting up the WP Mail SMTP Plugin
You can use my WP Login Flow plugin to setup this up, or since it’s open source use it as a reference for how to do it yourself. https://github.com/tripflex/wp-login-flow https://wordpress.org/plugins/wp-login-flow/ Specifically here’s the register.php file: https://github.com/tripflex/wp-login-flow/blob/master/classes/register.php
After a couple of days trying and trying and trying… i asked a youtuber who develops using the same WordPress Plugin Boilerplate and he pointed me to this article: https://andrezrv.com/2014/08/12/efficiently-flush-rewrite-rules-plugin-activation/ It adds an option inside_option table and it will flush rewrite rules based on that 🙂 It worked perfectly
TinyMCE is inactive after installation