boolean_smtp_vite_dev_server_url
Filters the resolved Vite dev-server URL.
filter Tier C Since 1.0.0
Return the modified URL to override where the admin UI loads its dev-mode script from. Return an empty string to force production assets.
Signature
add_filter( 'boolean_smtp_vite_dev_server_url', $callback, 10, 1 );Parameters
| Parameter | Type | Description |
|---|---|---|
$url | string | URL resolved so far from the hot file and dev-server constants. |
Returns string — The filtered URL.
Fires in
app/Providers/AppServiceProvider.php:1311—BooleanSmtp\Providers\AppServiceProvider::viteDevServerUrl()
Example
add_filter( 'boolean_smtp_vite_dev_server_url', function ( string $url ) { return $url;}, 10, 1 );Next steps
- Internal (unstable) — every hook in this area, in firing order where that applies.
- Hook Explorer — filter and search every hook.