catchresponsive_content_width

Set the content width in pixels, based on the theme's design and stylesheet.

Description

catchresponsive_content_width(); 

Priority 0 to make it available to lower priority callbacks.


Usage

  1. if ( !function_exists( 'catchresponsive_content_width' ) ) { 
  2. require_once '/inc/catchresponsive-core.php'; 
  3.  
  4.  
  5. // NOTICE! Understand what this does before running. 
  6. $result = catchresponsive_content_width(); 
  7.  

Defined (1)

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

/inc/catchresponsive-core.php  
  1. function catchresponsive_content_width() { 
  2. $content_width = 780; /** pixels */ 
  3.  
  4. $GLOBALS['content_width'] = apply_filters( 'catchresponsive_content_width', $content_width );