gallery_widget_content_width, self::DEFAULT_WIDTH, $args, $instance
gallery_widget_content_width, self::DEFAULT_WIDTH, $args, $instance
Appears in: jetpack.16.0.1
Hook Type: filter
Displaying hooks found in version: jetpack.16.0.1apply_filters('gallery_widget_content_width, self::DEFAULT_WIDTH, $args, $instance') is found 1 times:
- /modules/widgets/gallery.php line 143
* @param int self::DEFAULT_WIDTH Default gallery width. Default is 265. * @param string $args Display arguments including before_title, after_title, before_widget, and after_widget. * @param array $instance The settings for the particular instance of the widget. */ $this->instance_width = apply_filters( 'gallery_widget_content_width', self::DEFAULT_WIDTH, $args, $instance ); // Register a filter to modify the tiled_gallery_content_width, so Jetpack_Tiled_Gallery // can appropriately size the tiles. add_filter( 'tiled_gallery_content_width', array( $this, 'tiled_gallery_content_width' ) ); if ( method_exists( $this, $method ) ) {