Title: ACF with ARRAY
Last modified: February 28, 2020

---

# ACF with ARRAY

 *  Resolved [Anton](https://wordpress.org/support/users/ahtolllka/)
 * (@ahtolllka)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/acf-with-array/)
 * I use ACF plugin and some data in Array, how i can show this information?
    i 
   got always text “Array” with {cf:sklad} {cf:sklad}[0] {cf:sklad[0]} how i can
   work with this ?

Viewing 1 replies (of 1 total)

 *  [Manzoor Wani](https://wordpress.org/support/users/manzoorwanijk/)
 * (@manzoorwanijk)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/acf-with-array/#post-12494034)
 * It can be done by custom code:
 *     ```
       /* WP Telegram | Get the custom field value */
       add_filter(
       	'wptelegram_p2tg_post_data_cf:sklad_value',
       	function ( $value, $post ) {
       		$newValue = $value[0];
       		// or you can use ACF functions
       		// $newValue = get_field('sklad', $post->ID);
       		return $newValue;
       	},
       	10,
       	2
       );
       ```
   

Viewing 1 replies (of 1 total)

The topic ‘ACF with ARRAY’ is closed to new replies.

 * ![](https://ps.w.org/wptelegram/assets/icon-256x256.png?rev=2500018)
 * [WP Telegram (Auto Post and Notifications)](https://wordpress.org/plugins/wptelegram/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wptelegram/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wptelegram/)
 * [Active Topics](https://wordpress.org/support/plugin/wptelegram/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wptelegram/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wptelegram/reviews/)

## Tags

 * [ACF](https://wordpress.org/support/topic-tag/acf/)
 * [array](https://wordpress.org/support/topic-tag/array/)

 * 1 reply
 * 2 participants
 * Last reply from: [Manzoor Wani](https://wordpress.org/support/users/manzoorwanijk/)
 * Last activity: [6 years, 3 months ago](https://wordpress.org/support/topic/acf-with-array/#post-12494034)
 * Status: resolved