Make WordPress Core

Changeset 61055


Ignore:
Timestamp:
10/23/2025 11:53:50 PM (3 weeks ago)
Author:
SergeyBiryukov
Message:

Twenty Sixteen: Document the twentysixteen_content_width filter.

Follow-up to [40851].

Props pmbaldha, sabernhardt.
Fixes #63646.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-content/themes/twentysixteen/functions.php

    r60965 r61055  
    247247 */
    248248function twentysixteen_content_width() {
     249    /**
     250     * Filters Twenty Sixteen content width of the theme.
     251     *
     252     * @since Twenty Sixteen 1.0
     253     *
     254     * @param int $content_width Content width in pixels.
     255     */
    249256    $GLOBALS['content_width'] = apply_filters( 'twentysixteen_content_width', 840 );
    250257}
Note: See TracChangeset for help on using the changeset viewer.