apply_filters( 'get_header_image', string $url )
- Since
- 6.1.0
Filters the header image URL.
Parameters
$urlstring- Header image URL.
Fired at · 1
wp-includes/theme.php:1248get_header_image()
Source
View on Trac ↗View on GitHub ↗
1242 * Filters the header image URL.1243 *1244 * @since 6.1.01245 *1246 * @param string $url Header image URL.1247 */1248 $url = apply_filters( 'get_header_image', $url );1249 1250 if ( ! is_string( $url ) ) {1251 return false;1252 }1253 1254 $url = trim( $url );
History
Introduced in 6.1.0. Unchanged from 6.7.7 through 7.1.0.
- 6.7.7
- 6.8.8
- 6.9.7
- 7.0.4
- 7.1.0
Signature, return type and hooks compared across 5 parsed releases.
About this page
- Parsed data
- Generated from the wordpress-develop 7.1.0 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.