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:1238get_header_image()
Source
View on Trac ↗View on GitHub ↗
1232 * Filters the header image URL.1233 *1234 * @since 6.1.01235 *1236 * @param string $url Header image URL.1237 */1238 $url = apply_filters( 'get_header_image', $url );1239 1240 if ( ! is_string( $url ) ) {1241 return false;1242 }1243 1244 $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 6.8.8 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.