swift_performance_script_boundary

Boudnary which spearate scripts in merged script if Async Execute is enabled. By default it is SWIFT-PERFORMANCE-SCRIPT-BOUNDARY (plugin slug can be changed via Whitelabel options)

Parameters

$boundary

string contains script boundary

Return

string


Example

// Use custom script boundary
add_filter('swift_performance_script_boundary', function($boundary){
 return 'MY-CUSTOM-SCRIPT-BOUNDARY';
});