WordPress plugin
White-label constants
Pin the connector's branding on a specific install with wp-config.php constants.
The connector resolves its white-label branding from three sources, in precedence order:
wp-config.phpconstants (highest, a developer override)- Dashboard-pushed profile (set on the fleet Settings page, delivered via the heartbeat)
- Default FleetWP branding (lowest)
Define any of these constants in wp-config.php to override the display on a
single install:
define( 'FLEETWP_WL_NAME', 'Acme Care' );
define( 'FLEETWP_WL_DESC', 'Managed WordPress maintenance by Acme.' );
define( 'FLEETWP_WL_AUTHOR', 'Acme Digital' );
define( 'FLEETWP_WL_AUTHOR_URI', 'https://acme.example' );
define( 'FLEETWP_WL_URI', 'https://acme.example/care' );
define( 'FLEETWP_WL_ICON', 'https://acme.example/icon.png' );
define( 'FLEETWP_WL_HIDE', true ); // hide the admin menu + settings link| Constant | Controls |
|---|---|
FLEETWP_WL_NAME | Plugin name shown on the Plugins list and menu |
FLEETWP_WL_DESC | Plugin description |
FLEETWP_WL_AUTHOR | Author name |
FLEETWP_WL_AUTHOR_URI | Author link |
FLEETWP_WL_URI | Plugin "View details" link |
FLEETWP_WL_ICON | Menu/branding icon URL |
FLEETWP_WL_HIDE | If true, remove the admin menu and settings link (the Plugins row always shows) |
White-label rewrites the display only; the real plugin header and slug stay
intact so WordPress.org updates continue to work. Even with FLEETWP_WL_HIDE,
the plugin stays on the Plugins list and the connector page is still reachable
at admin.php?page=fleetwp.
For the workspace-wide, no-code path to branding, see White-label.