asp_compact_width
The final width of the compact box, before it opens.
1
wp.hooks.applyFilters('asp_compact_width', width, searchId, searchInstanceId);
Copied!

Example

1
wp.hooks.addFilter('asp_compact_width', 'asp', function(width){
2
return '300px';
3
}, 10);
Copied!
Last modified 10mo ago
Copy link