twentynineteen_content_width

twentynineteen_content_width

Hook Type: filter

See hook in core

Displaying hooks found in version: wordpress-5.8.3

apply_filters('twentynineteen_content_width') is found 1 times:

  • /wp-content/themes/twentynineteen/functions.php line 242
    function twentynineteen_content_width() {
    	// This variable is intended to be overruled from themes.
    	// Open WPCS issue: {@link https://github.com/WordPress-Coding-Standards/WordPress-Coding-Standards/issues/1043}.
    	// phpcs:ignore WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound
    	$GLOBALS['content_width'] = apply_filters( 'twentynineteen_content_width', 640 );
    }
    add_action( 'after_setup_theme', 'twentynineteen_content_width', 0 );
    
    /**
     * Enqueue scripts and styles.
     */