WordPress Composer multiple mu-plugins fix

Normally WP Plugins have this structure:

plugins/plugin-name1/some.php

plugins/plugin-name2/some.php

plugins/plugin-name3/some.php

 

However MU-plugins should have this structure

mu-plugins/plugin-name1.php

mu-plugins/plugin-name2.php

mu-plugins/plugin-name3.php

This is an issue when using composer, as composer is only capable of using (sub) folders. When set to mainlevel folders, composer will delete its contents for each new plugin, resulting in only the last plugin ( in this example plugin-name3 ) "standing"..

Read how to overcome this WordPress composer issue


Samenwerken doen we graag!

We werken graag op freelance basis. Ook voor andere web-bureau's en ontwikkelaars.
En dat mag ook op whitelabel basis. Doen we niet moeilijk over.

Bekijk de informatie pagina.