Load WordPress core but with specific plugins

Question

I am looking for a way to create a custom PHP file, where WordPress core is loaded, but only with specific plugins activated.

<?php
require_once '../../wp-load.php';
// load specific plugins

// do something

How is this possible?

0
, FooBar 6 months 0 Answers 85 views 0

Leave an answer