Im trying to get the id of images from a post. i've tried with
wp_get_attachment_url( $id ) and some other options but always get an empty array when i do var_dump or print_r. Whats the correct way to do it? thanks.
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It only takes a minute to sign up.Sign up to join this community