gallery_style filter-hook . WP 2.5.0
Filters the default gallery shortcode CSS styles.
Usage
add_filter( 'gallery_style', 'filter_function_name_4092' ); function filter_function_name_4092( $gallery_style ){ // filter... return $gallery_style; }
- $gallery_style(string)
- Default CSS styles and opening HTML div container for the gallery shortcode output.
Where the hook is called
wp-includes/media.php 1771
$output = apply_filters( 'gallery_style', $gallery_style . $gallery_div );