wp-content/themes/twentytwentyone/functions.php:373Sets the content width in pixels, based on the theme's design and stylesheet.
voidOne hook fires while twenty_twenty_one_content_width() runs, in this order:
Filters Twenty Twenty-One content width of the theme.
function twenty_twenty_one_content_width() { /** * Filters Twenty Twenty-One content width of the theme. * * @since Twenty Twenty-One 1.0 * * @param int $content_width Content width in pixels. */ $GLOBALS['content_width'] = apply_filters( 'twenty_twenty_one_content_width', 750 );}Introduced in Twenty Twenty-One 1.0. Unchanged from 6.7.7 through 7.1.0.
Signature, return type and hooks compared across 5 parsed releases.
src/wp-content/themes/twentytwentyone/functions.php, and regenerated for each WordPress release so it tracks the code rather than a snapshot of it.