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
    377
    378
    379
    380
    381
    382
    383
    384
    385
    386
    387
    function twenty_twenty_one_content_width() {
        // This variable is intended to be overruled from themes.
        // 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.
     *