Support

Account

Home Forums General Issues get_post_meta() works but get_fields() doesn't Reply To: get_post_meta() works but get_fields() doesn't

  • Hey @elliot

    Yeah

    $post->ID = the right post ID (1682)

    $link = get_post_meta( $post->ID, 'external_link', true );

    gives me the string I need ‘this is the link’

    but

    $link = get_field("external_link",$post->ID); = nothing,

    if I do a var_dump of $link it shows bool(false)