Skip to content

Latest commit

 

History

History
26 lines (15 loc) · 1.14 KB

README.md

File metadata and controls

26 lines (15 loc) · 1.14 KB

Symlinked Plugin Branch

Packagist

Easily identify the current git branch of your symlinked WordPress plugins.

Screen Shot 2023-01-26 at 10 46 19 PM

Example for Faust development

The following example will symlink the Faust WordPress plugin into a WordPress site managed by Local.

Note that the Faust WordPress plugin source code lives inside the wpengine/faustjs so the plugin would display the branch of the faustjs monorepo.

Create the symlink

ln -s \
  ~/Code/faustjs/plugins/faustwp/ \
  ~/Local\ Sites/faust/app/public/wp-content/plugins

At this point, you should be able to see your plugin within your WordPress site.

You can test your work by viewing the plugins page of your website, or by using ls -l <plugins-directory>