Support

Account

Home Forums Backend Issues (wp-admin) DB query for field via URL Reply To: DB query for field via URL

  • Hi @Agrajag

    Calling a custom field looks like so:

    
    $rating = get_field('rating', 123);
    

    Where 123 is the post_id you want to load the value from.

    Does that help?

    Thanks
    E