WordPress.org

Ready to get started?Download WordPress

Forums

Advanced Custom Fields
[resolved] ACF returns only Image ID (3 posts)

  1. castcrus
    Member
    Posted 1 year ago #

    i'm building a android app using wordpress xml-rpc api with ACF. there are several image type fields i need to use, but no matter what Returen Value i set them to, no matter it is Image URL or Image Object, it always gives me an Image ID.

    02-07 15:46:29.058: E/Tank(15452): {value=23, id=180, key=slide_image1} .... Return Value is set to Image ID
    02-07 15:46:29.058: E/Tank(15452): {value=68, id=182, key=slide_image2} .... Return Value is set to Image URL
    02-07 15:46:29.058: E/Tank(15452): {value=70, id=211, key=slide_image3} .... Return Value is set to Image Object

    what may be the problem?

    http://wordpress.org/extend/plugins/advanced-custom-fields/

  2. castcrus
    Member
    Posted 1 year ago #

    ok, my bad, i should have checked the docs, and use the_field() or get_field()

  3. castcrus
    Member
    Posted 1 year ago #

    resolved

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic