You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I was wondering how I should get post data (for my current example, it's the order object).
It seems that the get_post() function cannot be used on the carbon_fields_register_fields action.
So I want to know how I can get my order items if I want to create my custom fields depending on the ordered items.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi, I was wondering how I should get post data (for my current example, it's the
order
object).It seems that the
get_post()
function cannot be used on thecarbon_fields_register_fields
action.So I want to know how I can get my order items if I want to create my custom fields depending on the ordered items.
Beta Was this translation helpful? Give feedback.
All reactions