how to make wp-env read from local dir?

[ad_1]

wp-env doesn’t read current dir.

current dir is wp_bowl/copyright-date-block

run

npx wp-env start

it always read from ~/.wp-env/f3ad9451930200d8beb5cac2887a81c6/WordPress/wp-content/plugins/copyright-date-block, but not current dir

the .wp-env.json in current dir is already pointing to .

% cat .wp-env.json 
{
	"core": "WordPress/WordPress",
	"plugins": [
		"."
	]
}

in http://localhost:8888/wp-admin/plugins.php, the Copyright Date Block is activated (but i can’t tell the local path)

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer