Use $order->get_meta('my_custom_field')
instead.
Related Posts:
- How to update custom fields using the wp_insert_post() function?
- Adding custom input for data attribute in insert media modal
- How to handle a custom form in wordpress to submit to another page?
- Custom Meta Field – Youtube embed
- WooCommerce: How to display item meta data in email confirmation using woocommerce_order_item_meta_end
- How to use multiple query with same meta key
- How can i create a function to get youtube video time
- Getting movie and serial on actor page
- Match checkbox data with page title to show certain items
- Print html when custom field has value inside while loop
- Geocoding an Exploded Custom Field Array
- How to Explode a Textarea Field and Echo each line separately, wrapped with HTML
- Removing WordPress profile fields from non-admins
- Use ajax to update_post_meta
- WooCommerce: update custom fields after checkout validation failure
- If Meta Checkbox is checked, do something?
- Show custom field if it exists, and show different elements if it doesn’t
- Custom field value not saving when it contains a URL?
- Sum custom field values of particular taxonomy
- Importing hard coded custom field into acf field
- tracking number field in Woocommerce order [closed]
- Sort posts by custom fields value using dropdown menu
- Need Help Fixing My Iframes [closed]
- Firing schema via code in functions.php doesn’t work
- How can I add extra word in permalink when someone click download button?
- Seach custom post type posts only by meta fields?
- how to retrieve a value if a checkbox is checked
- Trouble checking if custom woocommerce checkout field is empty or not
- Two queries for a WP_User_Query search work perfectly apart, but not together
- Add / Update Custom Fields After Select Pictures in Media Window
- conditional logic for front-end custom field edits
- How to add specific meta tags to head of cart and checkout pages in woocommerce?
- Which PHP page is the Default Posts Page
- Remove the last X characters of a custom field value
- Non-Closing PHP Query in WordPress Loop
- Find a way to retrive data updated through metabox plugin to web page
- Why are the details of my todo not saving?
- Can’t save php string to a custom field
- How to show/hide php table rows based on the content of custom fields
- how to get serialized post meta
- Show ACF field with link to ultimate member profile/WordPress user profile below the post (single post layout)
- How to show meta value code HTML after x paragraph
- Changing the order of custom fields in the dashboard for Woocommerce variable products [closed]
- Handling repeater data
- How to add data to a custom field at the wp_users table?
- Problem with adding custom CSS class to image in ACF Photo Gallery plugin [closed]
- Conditional featured image with youtube thumbnail
- Order a WP_Query by meta value where the value is an array
- Add a counter for mouseovers (custom field)
- Including Custom fields within the_content
- How can i make a search box to search by custom field
- Show field if it has contents on Advanced Custom Fields
- the_meta – no get_the_meta query?
- Display Custom Field in Sidebar if Value is Present
- Using a string from a custom field within a link
- Make separate text boxes for separate WordPress Custom Fields
- Display additional user fields
- Dynamically added custom fields not displayed on WooCommerce email notifications
- How can I add diffrent editable text fields?
- Add a “custom field” to a category that can be retrieved when viewing the category page with get_post_meta
- Display custom field value in woocommerce variable product via jQurey
- Include custom fields in search
- update_term_meta() only updating once on certain meta keys
- Trying to update Woocommerce meta values
- How to Call on WordPress Custom Fields without a Plugin
- Query on a repeater date (acf)
- Generating 3 random numbers and saving them in database
- ACF – Can’t get custom post type by taxonomy
- Save custom field on WP_List_Table
- Sum All the Post Meta of Published posts of Current Logged in user
- custom fields anchor points php
- Store custom field’s multiple values in one user meta key
- WooCommerce multiple custom fields code
- When working with a post, almost all wp_postmeta are deleted
- What syntax is this? “{{post.price}}”
- Updating Lat and Lng of posts automatically gives sporadic results
- How to use something like meta_query but for fields?
- php if, else & custom fields – syntax error
- How to get the first letter from custom field?
- Meta box not saving spaces
- custom field meta-box with dropdown/autocomplete
- How to exclude post from being queried based on custom meta value
- If Elseif Query
- Display selected parts from selected pages on the frontpage?
- How to use custom fields to replace top-level parent title with an image using wp_list_pages?
- Display custom meta box in my template file
- Query posts by custom fields (object post)
- Too many if’s and else if’s ?? – Must be better way [closed]
- Advanced Custom Fields Show PHP in Text Areas
- WP query with variables gives no result for specific user
- Displaying custom meta box value in a custom post page
- I want to show image from custom field image on my custom page template
- How do you create a front end form that enables the editing of member-specific custom fields in WordPress?
- Search custom post type posts only by meta fields?
- How to pass value to add_filter wpcf7_form_tag from another function?
- ACF number less than comparison not working
- fetch from an external api call and display results in page
- Problem with custom user fields default value and retrieval
- Cannot Access ACF Field Values via my Plugin
- ACF block gutenberg aligncenter don’t work