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

Example

1
WPD.Hooks.addFilter('asp_compact_width', 'asp', function(width){
2
return '300px';
3
}, 10);
Copied!
Copy link
Contents