⚠ In case you've missed it, we have migrated to our new website, with a brand new forum. For more details about the migration you can read our blog post for website migration. This is an archived forum. ⚠

  •     

profile picture

Loop Callback_edit_fields



ferdihub

ferdihub
  • profile picture
  • Member

Posted 06 December 2017 - 08:08 AM

Hallo, 

I have edit form, and some field i get from others table, so, i need to call callback_edit_fields to get the values. 

But, my problem is, when i loop the fields from array and call the function in foreach, i cant get the $meta value in line 8 to line 10.

https://pastebin.com/siyND3MZ

 

So, i need help to pass / send $meta value to function($meta).

 

Thankyou.. :)

 

 


Amit Shah

Amit Shah
  • profile picture
  • Member

Posted 06 December 2017 - 17:06 PM

Well, if you cant pass additional parameter to the callback, i will recommend u set the data in session and use it / destroy it.. as and how required.

 

Happy GCing :)