twenty_twenty_one_content_width

twenty_twenty_one_content_width

Hook Type: filter

See hook in core

Displaying hooks found in version: wordpress-6.3.2

apply_filters('twenty_twenty_one_content_width') is found 1 times:

  • /wp-content/themes/twentytwentyone/functions.php line 381
    function twenty_twenty_one_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( 'twenty_twenty_one_content_width', 750 );
    }
    add_action( 'after_setup_theme', 'twenty_twenty_one_content_width', 0 );
    
    /**
     * Enqueues scripts and styles.
     *