• Resolved lorenz90

    (@lorenz90)


    Hi,

    I have been using this plugin for years to allow authors to set header images. In my functions.php, I used ? ? ? ?

    $custom_header = get_custom_header();

    which used to reliably return the attachment ID of the set header. However, this stopped working, and I couldn’t figure out why.

    Is there a new function that I can use to fetch the header ID in functions.php? I am using the the_content hook.

    Thank you,
    Lorenz

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘get_custom_header() doesn’t return the header anymore?’ is closed to new replies.