Protected
baseThe base folder of the WordPress installation.
Protected
pluginsThe plugins folder of the WordPress installation.
Protected
themeThe theme folder of the WordPress installation.
Initializes the function by logging the baseFolder
and themeFolder
properties,
scanning the theme and plugins directories, retrieving the website name from the
baseFolder
path, getting the WordPress version from wp-includes/version.php
,
determining the language using Intl.DateTimeFormat().resolvedOptions().locale
,
and saving the result to a JSON file.
The configuration object.
Error An error if the configuration file cannot be created.
Scans a directory and returns an array of objects containing the name and version of each item found.
The path of the directory to scan.
An array of objects with the name and version of each item found.
Generated using TypeDoc
Represents a Dump class for WordPress configuration.