register_default_headers() – Register a selection of default headers to be displayed by the custom header admin UI.
You appear to be a bot. Output may be restricted
Description
Registers a selection of default headers to be displayed by the custom header admin UI.
Usage
register_default_headers( $headers );
Parameters
- $headers
- ( array ) required – Array of headers keyed by a string ID. The IDs point to arrays containing 'url', 'thumbnail_url', and 'description' keys.
Returns
void
Source
File name: wordpress/wp-includes/theme.php
Lines:
1 to 5 of 5
function register_default_headers( $headers ) { global $_wp_default_headers; $_wp_default_headers = array_merge( (array) $_wp_default_headers, (array) $headers ); }