Filter overwriting the default content width.
Parameters
- $tiled_gallery_content_width
string Default Tiled Gallery content width.
Changelog
- Introduced in Jetpack 2.1.0
How to use this hook
Notes
You can use this filter to define a custom Content Width value, that will only apply to Jetpack Tiled Galleries:
function jeherve_custom_tiled_gallery_width() {
return '800';
}
add_filter( 'tiled_gallery_content_width', 'jeherve_custom_tiled_gallery_width' );