Activate plugins via these Code – WordPress

Using this simple code you can activate any plugins programmatically. If you have access to the website files (via FPT or cPanel) you can add this code to the site’s function.php and change the appropriate names for folder and plugin name and the plugin will be activated. However, please note, the plugins activated via this code cannot be deactivated unless removed.



Welcome to Hey, Let's Learn Something!

Please sign up here to receive the latest updates on our blogs, tutorials and download section :)

Thank you for subscribing :)