Wp config get
Naar navigatie springen
Naar zoeken springen
NAME wp config get DESCRIPTION Gets the value of a specific constant or variable defined in wp-config.php file. SYNOPSIS wp config get <name> [--type=<type>] [--format=<format>] OPTIONS <name> Name of the wp-config.php constant or variable. [--type=<type>] Type of config value to retrieve. Defaults to 'all'. --- default: all options: - constant - variable - all --- [--format=<format>] Get value in a particular format. --- default: var_export options: - var_export - json - yaml --- EXAMPLES # Get the table_prefix as defined in wp-config.php file. $ wp config get table_prefix wp_