Site logo

Archived topic

Remove title attribute from logo

5 replies · Started by Santos Lima on February 20, 2019

Viewing posts 1–6 of 6

How do I remove the Title from Logo attribute?

Hi there,

Try this function:

add_filter( 'generate_logo_attributes', function( $atts ) {
    unset( $atts['title'] );

    return $atts;
} );

Let me know :)

Where do I put this code?

Solved, thank you!

Glad we could be of help

This archived topic is closed to new replies.