header_video_settings
Filter HookDescription
Filters header video settings.Hook Information
File Location |
wp-includes/theme.php
View on GitHub
|
Hook Type | Filter |
Line Number | 1737 |
Hook Parameters
Type | Name | Description |
---|---|---|
array
|
$settings
|
An array of header video settings. |
Usage Examples
Basic Usage
<?php
// Hook into header_video_settings
add_filter('header_video_settings', 'my_custom_filter', 10, 1);
function my_custom_filter($settings) {
// Your custom filtering logic here
return $settings;
}
Source Code Context
wp-includes/theme.php:1737
- How this hook is used in WordPress core
<?php
1732 *
1733 * @since 4.7.0
1734 *
1735 * @param array $settings An array of header video settings.
1736 */
1737 return apply_filters( 'header_video_settings', $settings );
1738 }
1739
1740 /**
1741 * Checks whether a custom header is set or not.
1742 *
PHP Documentation
<?php
/**
* Filters header video settings.
*
* @since 4.7.0
*
* @param array $settings An array of header video settings.
*/
Quick Info
- Hook Type: Filter
- Parameters: 1
- File: wp-includes/theme.php
Related Hooks
Related hooks will be displayed here in future updates.