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:1251get_header_image()
Source
View on Trac ↗View on GitHub ↗
1245 * Filters the header image URL.1246 *1247 * @since 6.1.01248 *1249 * @param string $url Header image URL.1250 */1251 $url = apply_filters( 'get_header_image', $url );1252 1253 if ( ! is_string( $url ) ) {1254 return false;1255 }1256 1257 $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.9.7 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.