You can use the default WP function get_post_meta
to get meta from the post, here is the link to the official documentation https://developer.wordpress.org/reference/functions/get_post_meta/
For example get_field('slb_first_name', $post_id )
must be replaced with get_post_meta($post_id, 'slb_first_name', true)
Related Posts:
- Ordering posts by anniversary using only day and month
- Displaying posts with only upcoming dates according their custom field date value
- Which is best in the following scenario : post_meta vs custom table vs parent/child posts
- How to add a new meta key and assign timestamp to posts
- How do I have WP_Query match posts based on search parameter OR meta fields? (rather than search parameters AND meta fields)?
- Ordering posts by custom field named “date” in backend
- Unique meta_key with array value vs repeated meta_key with single values
- change order of images attached to post
- How to improve my non-unique metadata MySQL entries?
- WP Query Args – search by meta_key or title
- Using meta query (‘meta_query’) with a search query (‘s’)
- Custom post meta field effect on the performance on the post
- Difference between meta keys with _ and without _ [duplicate]
- Orderby meta_value only returns posts that have existing meta_key
- ORDER BY custom field value
- Best way to programmatically remove a category/term from a post
- Can I query custom meta data through WP_Query
- When using add_post_meta and update_post_meta, is there any way to give the individual arrays keys?
- Storing meta fields multiple times OR once with multi dimensional array?
- display specific custom fields
- Is it possible to store arrays in a custom field?
- Multiple meta values for same meta_key adding on “Preview Changes” hit but not on saving or updating post
- importing data from non-wordpress mysql db
- Is there a way to do multiple ordering on a multiple meta_query?
- Transients vs CRON +Custom Fields: Caching Data Per Post
- Unable to save datetime custom meta field using update_post_meta() function
- Create custom field on post draft or publish?
- get_post_meta fields don’t show up on posts page
- copy attachments to another post type and change attachment url
- Cannot edit post meta fields with rest API
- Slow meta query with multi meta keys
- Using OR in WP_Query negates the “NOT EXISTS” compare
- Add a post meta key and value only if it does not exist on the post
- Order posts according to user defined order for meta values?
- Function to change meta value in database for each post
- Get aggregate list of all custom fields for entire blog
- Sorting posts by multiple values, combined
- WP_Query display next custom post from today’s date
- How to save a ToggleControl value in a meta field?
- WP_Meta_Query causing long-running MySQL queries
- Add More Fields to Users Pages (Admin Panel)
- using multiple meta_key and meta_value in query_posts
- Get specific custom field keys from a post and put into an array
- MySQL Query that looks for post with Custom Field, then changes Category
- ACF: How to get the full field name (meta_key) by a field key?
- How to make Meta Query case sensitive?
- How make a custom search on backend in WordPress without plugin?
- Create Multiple File Upload Metabox in WordPress
- filtering custom post types via meta data drop down
- Get content from pages with same meta_key from Database
- If meta key exists in get posts function otherwise create it
- Read / Watch / Listen times – meta
- How do I Implement Atomic Update of Post Metadata?
- Why is my Custom Meta Box Field Inputs NOT saving?
- Get registered custom fields or post meta even if empty
- Alter main archive, to show posts with meta as last
- Displaying multiple URLs as custom field values
- Stop sending email everytime I updates my post
- Best way to store everyday post views?
- get posts where a custom field contains a text
- shortcode in a custom metabox
- How can I modify RSS item titles to be either the title or a custom meta field?
- Problem with saving large amount of data in postmeta/usermeta
- ORDER BY custom field value out of where clause
- How to get posts with a metadata numeric key greater than X?
- Move Title and the Content WYSIWYG editor position
- How do i get the attached images with custom value checked?
- ACF: How to get users with a ACF flexible content subfield with a specific value AND layout?
- Meta_query ‘compare’ => ‘LIKE’ not working?
- Diamond question mark in text after migrating content
- Display posts with empty custom field
- If metabox has content display content
- Footnotes in custom fields
- Create a new custom field for all posts based on current custom field
- Display Meta Data with HTML?
- wordpress get_post_meta / the_meta to output custom field value
- Group Posts By Custom Meta Value: Date
- Need to search a custom field (ingredients, one long string per post), but want it to allow phrases/non-exact matches
- Meta field bulk editing no longer working in WP 6.0 [closed]
- Set class if a meta value is set within post archive
- Unable to gather Image URL from Custom Post Type’s; Custom Meta Field
- Show posts from WP Custom Post Type selected from a field in a metabox
- Adding Facebook’s image and meta description retrieval capabilities to a WordPress post
- Filtering posts by ACF meta query
- Allow HTML in Custom Metabox area
- Why does my numeric meta query work only on one meta key and not the other?
- meta_query to check all custom fields
- Custom field metabox not showing in back-end
- Save, update, get and sanitize post meta as HTML not plain
- Saved Post Meta Array Returns as String
- Query Multiple meta
- Problem saving meta data
- When post is updated, custom metadata in text area field is overwritten
- change attachment custom field onChange event
- Media Attachment Custom Meta Fields not saving in Media Uploader when using jQuery UI Autocomplete
- add_post_meta insert null value into Database
- Make Custom Fields Public in JSON – API
- Order by a meta field in query loop
- save all acf options in one meta_value [closed]
- get Custom field label (select/dropdown) on front end