Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master' into 35-base
Browse files Browse the repository at this point in the history
  • Loading branch information
lucatume committed Nov 24, 2023
2 parents e32feb0 + 3ae45fa commit 227e59c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions docs/v3/modules/WPLoader.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,9 @@ When configured to only load WordPress (`loadOnly: true`) then any database oper
* `configFile` - defaults to an empty string, an additional configuration file to include **before** loading WordPress. Any instruction in this fill will run **before** any WordPress file is included.
* `contentFolder` - defaults to an empty string; the path, relative to the `wpRootFolder` or absolute, to the content folder if different from the default one or the one defined by the `WP_CONTENT_DIR` constant; if the `WP_CONTENT_DIR` constant is defined in a config file (see the `configFile` parameter) this will be ignored.
* `pluginsFolder` - defaults to an empty string; the path, relative to the `wpRootFolder` or absolute, to the plugins folder from the `wpRootFolder` if different from the default one or the one defined by the `WP_PLUGIN_DIR` constant; if the `WP_PLUGIN_DIR` constant is defined in a config file (see the `configFile` parameter) this will be ignored.
* `plugins` - defaults to an empty string; a list of plugins that should be loaded before any test case runs and after mu-plugins have been loaded; these should be defined in the `folder/plugin-file.php` format.
* `activatePlugins` - defaults to an empty string, a list of plugins that will be activated before any test case runs and after WordPress is fully loaded and set up; these should be defined in the `folder/plugin-file.php` format; when the `multisite` option is set to `true` the plugins will be **network activated** during the installation.
* `plugins` - defaults to an empty array; a list of plugins that should be loaded before any test case runs and after mu-plugins have been loaded; these should be defined in the `folder/plugin-file.php` format.
* `activateplugins` - defaults to an empty array, a list of plugins that will be activated before any test case runs and after wordpress is fully loaded and set up; these should be defined in the `folder/plugin-file.php` format; when the `multisite` option is set to `true` the plugins will be **network activated** during the installation.
* `activatePluginsSilently` - defaults to an empty array, a list of plugins that will be **silently** activated, thus not firing the plugins' activation actions, before any test case runs and after wordpress is fully loaded and set up; these should be defined in the `folder/plugin-file.php` format; when the `multisite` option is set to `true` the plugins will be **network activated** during the installation.
* `bootstrapActions` - defaults to an empty string, a list of actions, **static functions** or functions that should be called after before any test case runs, after plugins have been loaded and activated; static functions should be defined in the YAML array format:
```yaml
bootstrapActions:
Expand Down

0 comments on commit 227e59c

Please sign in to comment.