apply_filters( 'twentyeleven_header_image_width', int )
- Since
- Twenty Eleven 1.0
Filters the Twenty Eleven default header image width.
Compatibility
- WordPress
- since Twenty Eleven 1.0
- 6.7.10
- 6.8.11
- 6.9.10
- 7.0.7
- 7.1.3
Present in every tracked release (6.7.10 to 7.1.3).
Parameters
int- The default header image width in pixels. Default 1000.
Where this hook fires · 1
wp-content/themes/twentyeleven/functions.php:193twentyeleven_setup()
Source code
* Filters the Twenty Eleven default header image width. * * @since Twenty Eleven 1.0 * * @param int The default header image width in pixels. Default 1000. */ 'width' => apply_filters( 'twentyeleven_header_image_width', 1000 ), /** * Filters the Twenty Eleven default header image height. * * @since Twenty Eleven 1.0 * * @param int The default header image height in pixels. Default 288.Changelog
Introduced in Twenty Eleven 1.0. 2 changes between 6.7.10 and 7.1.3.
Signature, return type and hooks compared across 5 parsed releases.
7.0.7
Parameter
$width added.verified against source7.0.7
Parameter `` removed.verified against source
Twenty Eleven 1.0
Twenty Eleven 1.0from the docblock
About this page
- Parsed data
- Generated from the wordpress-develop 6.9.10 tag, and regenerated for each WordPress release so it tracks the code rather than a snapshot of it.
- Corrections
- Something wrong on this page? Report it and it gets fixed in the next regeneration.