get_custom_logo_image_attributes filter-hook . WP 5.5.0
Filters the list of custom logo image attributes.
Usage
add_filter( 'get_custom_logo_image_attributes', 'filter_function_name_4781', 10, 3 ); function filter_function_name_4781( $custom_logo_attr, $custom_logo_id, $blog_id ){ // filter... return $custom_logo_attr; }
- $custom_logo_attr(array)
- Custom logo image attributes.
- $custom_logo_id(int)
- Custom logo attachment ID.
- $blog_id(int)
- ID of the blog to get the custom logo for.
Changelog
Since 5.5.0 | Introduced. |
Where the hook is called
get_custom_logo_image_attributes
wp-includes/general-template.php 1057
$custom_logo_attr = apply_filters( 'get_custom_logo_image_attributes', $custom_logo_attr, $custom_logo_id, $blog_id );