For many developers and organizations, using Astra Themes may need to have theirWhite LabelSetting up the hide.

What are white label constants?
White-label constants are created by adding a white-label to the wp-config.php file by adding specific code to it. This approach ensures that the Astra The white label settings of the theme and its associated plugins will not be changed due to user action or plugin reactivation, thus enabling permanent hiding.
![图片[2]-如何永久隐藏 Astra 主题的白标设置](https://www.361sale.com/wp-content/uploads/2025/04/20250409105705236-image.png)
How to Permanently Hide Astra White Label Settings with White Label Constants
Here are the steps to help in wp-config.php file to set the white label constants:
Step 1: Open and edit wp-config.php file
First, find and open the WordPress in the root directory wp-config.php file. This file contains many of the core settings, and modifying it will affect the site configuration.
Step 2: Add White Label Constant Code
Find the following line in the file:
/* That's all, stop editing! Happy blogging. */
Then, add the white label constant code before the line.
Step 3: Add White Label Constant Code
Below is a sample code to update the values of the constants as per the requirement. With these constants, the value of the Astra The theme and plugin provide custom strings for all white label settings.
define( 'AST_WL_ASTRA_AGENCY_AUTHOR', 'Agency Author' );
define( 'AST_WL_ASTRA_AGENCY_AUTHOR_URL', 'www.your-website-url.com' ); define( 'AST_WL_ASTRA_AGENCY_LICENSE', 'Agency Author' )
define( 'AST_WL_ASTRA_AGENCY_LICENCE', 'www.your-get-licence-url.com' );
define( 'AST_WL_ASTRA_NAME', 'Fastest WP Theme' ); define( 'AST_WL_ASTRA_NAME', 'Fastest WP Theme' )
define( 'AST_WL_ASTRA_DESCRIPTION', 'WordPress theme' ); define( 'AST_WL_ASTRA_NAME', 'Fastest WP Theme' )
define( 'AST_WL_ASTRA_SCREENSHOT', 'www.your-theme-screenshot-url.com' ); define( 'AST_WL_ASTRA_SCREENSHOT', 'www.your-theme-screenshot-url.com' )
define( 'AST_WL_ASTRA_PRO_NAME', 'Pro Addon' ); define( 'AST_WL_ASTRA_PRO_NAME', 'Pro Addon' )
define( 'AST_WL_ASTRA_PRO_DESCRIPTION', 'Pro Addon extends the features of theme' ); define( 'AST_WL_ASTRA_PRO_DESCRIPTION', 'Pro Addon extends the features of theme' ); define( 'AST_WL_ASTRA_PRO_DESCRIPTION', 'Pro Addon' )
define( 'AST_WL_ASTRA_SITES_NAME', 'Ready Sites' ); define( 'AST_WL_ASTRA_SITES_NAME', 'Ready Sites' )
define( 'AST_WL_ASTRA_SITES_DESCRIPTION', 'Library of Ready sites' ); define( 'AST_WL_ASTRA_SITES_NAME', 'Ready sites' ); define( 'AST_WL_ASTRA_SITES_DESCRIPTION', 'Library of Ready sites' )
define( 'AST_WL_BSF_LW_SB_NAME', 'Custom Sidebar Manager' ); define( 'AST_WL_BSF_LW_SB_NAME', 'Custom Sidebar Manager' )
define( 'AST_WL_ASTRA_HOOKS_NAME', 'Hooks for theme' ); define( 'AST_WL_ASTRA_HOOKS_NAME', 'Hooks for theme' ); define( 'AST_WL_ASTRA_HOOKS_NAME'; 'Hooks for theme' )
define( 'AST_WL_ASTRA_HOOKS_DESCRIPTION', 'Use hooks to put custom code' ); define( 'AST_WL_ASTRA_HOOKS_NAME', 'Hooks for theme' ); define( 'AST_WL_ASTRA_HOOKS_DESCRIPTION', 'Use hooks to put custom code' )
define( 'AST_WL_BSF_CUSTOM_FONTS_NAME', 'My Custom Fonts' ); define( 'AST_WL_ASTRA_HOOKS_DESCRIPTION' ); define( 'AST_WL_BSF_CUSTOM_FONTS_NAME', 'My Custom Fonts' )
define( 'AST_WL_CUSTOM_TYPEKIT_FONTS_NAME', 'My fonts' ); define( 'AST_WL_CUSTOM_TYPEKIT_FONTS_NAME', 'My fonts' ); define( 'AST_WL_CUSTOM_TYPEKIT_FONTS_NAME')
define( 'AST_WL_CUSTOM_TYPEKIT_FONTS_DESCRIPTION', 'Add custom typekit font' );
White label constants and their corresponding settings:
Astra Themes and Astra Pro Plugins
| White Label Setting | White label constants |
|---|---|
| Agency Author Name | AST_WL_ASTRA_AGENCY_AUTHOR |
| Agency Author URL | AST_WL_ASTRA_AGENCY_AUTHOR_URL |
| Agency License URL | AST_WL_ASTRA_AGENCY_LICENCE |
| Astra Theme Name | AST_WL_ASTRA_NAME |
| Astra Theme Description | AST_WL_ASTRA_DESCRIPTION |
| Astra Theme Screenshot | AST_WL_ASTRA_SCREENSHOT |
| Astra Pro Name | ast_wl_astra_pro_name |
| Astra Pro Description | ast_wl_astra_pro_description |
Starter Templates plug-in or Astra Premium Sites plug-in
| White Label Setting | White label constants |
|---|---|
| Astra Sites Name | ast_wl_astra_sites_name |
| Astra Sites Description | AST_WL_ASTRA_SITES_DESCRIPTION |
Lightweight Sidebar Manager Plugin
| White Label Setting | White label constants |
|---|---|
| Sidebar Manager Name | ast_wl_bsf_lw_sb_name |
| Sidebar Manager Description | ast_wl_bsf_lw_sb_description |
Astra Hooks Plugin
| White Label Setting | White label constants |
|---|---|
| Astra Hooks Name | ast_wl_astra_hooks_name |
| Astra Hooks Description | AST_WL_ASTRA_HOOKS_DESCRIPTION |
Customized Font Plugin
| White Label Setting | White label constants |
|---|---|
| Custom Fonts Name | ast_wl_bsf_custom_fonts_name |
| Custom Fonts Description | AST_WL_BSF_CUSTOM_FONTS_DESCRIPTION |
Adobe Fonts (Custom Typekit Fonts)
| White Label Setting | White label constants |
|---|---|
| Adobe Fonts Name | AST_WL_CUSTOM_TYPEKIT_FONTS_NAME |
| Adobe Fonts Description | AST_WL_CUSTOM_TYPEKIT_FONTS_DESCRIPTION |
summarize
Through the use of the wp-config.php Setting these white label constants in the file permanently hides the Astra Themes and plugins forwhite labelSettings are set so that they do not change whether the plugin is reactivated or not. This method is useful for developers and organizations that serve multiple clients, ensuring brand consistency and that clients cannot see any third-party plugin or theme information.
Related articles
Link to this article:https://www.361sale.com/en/49454/The article is copyrighted and must be reproduced with attribution.


















![表情[wozuimei]-光子波动网 | WordPress教程、Elementor教程与故障修复](https://www.361sale.com/wp-content/themes/zibll/img/smilies/wozuimei.gif)
![表情[baoquan]-光子波动网 | WordPress教程、Elementor教程与故障修复](https://www.361sale.com/wp-content/themes/zibll/img/smilies/baoquan.gif)

No comments