WordPress.org

Ready to get started?Download WordPress

Forums

get header_image attachment id (1 post)

  1. elihorn
    Member
    Posted 1 year ago #

    Hi there,
    I am wondering if there is an easy function call to get the id of the custom header image. The only functions I can see available are header_image and get_header_image, both of which return the url only.

    If not, is the best way really to query the database by the url, such as is suggested in this thread?

    Thanks for the help!

Topic Closed

This topic has been closed to new replies.

About this Topic