twentysixteen_gallery_widget_content_width

Alter gallery widget default width.

Description

twentysixteen_gallery_widget_content_width( $width ); 

Parameters (1)

0. $width
The width.

Usage

  1. if ( !function_exists( 'twentysixteen_gallery_widget_content_width' ) ) { 
  2. require_once '/modules/theme-tools/compat/twentysixteen.php'; 
  3.  
  4. // The width. 
  5. $width = null; 
  6.  
  7. // NOTICE! Understand what this does before running. 
  8. $result = twentysixteen_gallery_widget_content_width($width); 
  9.  

Defined (1)

The function is defined in the following location(s).

/modules/theme-tools/compat/twentysixteen.php  
  1. function twentysixteen_gallery_widget_content_width( $width ) { 
  2. return 390;