# White Labeling

The module was built to be used foremost internally by the Deep Web Solutions development team, but we tried to include white-labeling functionality for all potential customer-facing strings.

Basically, in order to replace our name with yours, all you have to do is define the constants you want to overwrite **before** loading the [Composer ](/key-concepts-and-dev-tools/dependency-management-composer.md)autoload file. For example:

```php
<?php
/**
 * Plugin Name:       My Test Plugin
 * Version:           1.0.0
 * Requires at least: 5.7
 * Requires PHP:      8.0
 */
 
 // Define white-labeling constants.
 \define( 'DeepWebSolutions\Framework\DWS_WP_FRAMEWORK_WHITELABEL_NAME', 'My Awesome Company Name' );
 
 // Load the Composer autoloader.
 \is_file( __DIR__ . '/vendor/autoload.php' ) && require_once __DIR__ . '/vendor/autoload.php';
 
```

The supported white-label strings are located [in the `bootstrap-whitelabel.php` file](https://github.com/deep-web-solutions/wordpress-framework-bootstrapper/blob/master/bootstrap-whitelabel.php).

{% hint style="warning" %}
You have to define the constant together with the appropriate namespace. If you're using [dependency scoping](/key-concepts-and-dev-tools/dependencies-scoping-php-scoper.md) (like you should), your namespace will be different than the one showed in the example above.
{% endhint %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://framework.deep-web-solutions.com/bootstrapper-module/white-labeling.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
