diff --git a/tools/docker/mu-plugins/01-monorepo.php b/tools/docker/mu-plugins/01-monorepo.php index f98a28b6c31fe..4828169b87678 100644 --- a/tools/docker/mu-plugins/01-monorepo.php +++ b/tools/docker/mu-plugins/01-monorepo.php @@ -39,7 +39,14 @@ class Monorepo { * Class constructor. */ public function __construct() { - $this->monorepo = '/usr/local/src/jetpack-monorepo/'; + /** + * Filter the monorepo path for development environments. + * + * @since $$next-version$$ + * + * @param string $path Monorepo file path. + */ + $this->monorepo = apply_filters( 'jetpack_monorepo_path', '/usr/local/src/jetpack-monorepo/' ); $this->plugins = $this->monorepo . 'projects/plugins/'; $this->packages = $this->monorepo . 'projects/packages/'; }