apply_filters( 'RCB/Experimental/OptimizedWpLocalizeScript', $useOptimizedWpLocalizeScript ) → {boolean}
If you return true, localization uses bucket-backed resource groups:
- Slim blocking inline bootstrap on the banner handle
- Remaining payload in deferred resource groups under the anonymous uploads bucket (
otherslast) - Falls back to
anonymous_localize_scriptwhen that write cannot be guaranteed
Parameters:
| Name | Type | Description |
|---|---|---|
$useOptimizedWpLocalizeScript |
boolean |
- Since:
- 5.2.10
Returns:
- Type
- boolean