wpseek.com
WordPress开发者和主题制作者的搜索引擎
gallery_style › WordPress过滤钩子
Since7.0.0
已弃用n/a
› apply_filters( 'gallery_style', $gallery_style . $gallery_div )
| 参数: |
|
| 定义在: |
|
| 文档: |
Filters the gallery shortcode's default CSS styles and opening HTML div container.
To remove the CSS entirely, use the `use_default_gallery_style` filter instead: add_filter( 'use_default_gallery_style', '__return_false' );Related Functions: gallery_shortcode, add_editor_style, locale_stylesheet, wp_register_style, get_stylesheet, update_gallery_tab
Related Hooks: use_default_gallery_style, safe_style_css, get_site, post_gallery, locale_stylesheet_uri