Forgive me if I am misunderstanding the question but…
So, when I get
get_post_meta( $get_post_ID());
… you already have the post ID via $get_post_ID()
(which is a BuddyPress function I believe) do you not? If so, you are making this far more complicated than it needs to be. get_post_meta()
is only returning the metadata. Given that you already have the ID in order to use the function, there is no need for it to spit back the ID as well.
Related Posts:
- Passing error/warning messages from a meta box to “admin_notices”
- Add “upload media” button in meta box field
- get registered metaboxes by post type or post ID
- How to get meta box data to display on a page
- esc before saving or before displaying does it matter?
- Add a meta description to home page?
- Getting the ID of a meta box
- Check if meta key value already exists
- get_post_meta doesn’t work
- How do I display Youtube/Vimeo video ID on custom post type when user enters it in custom meta box?
- Metabox of one post influence setting on other
- How to store multiple input values with same meta_key
- Consolidate Metaboxes into 1 Big Metabox
- unable to save post meta on single field with multiple selects
- metabox upload file
- Why is variable value emptry in $_POST but available in $_REQUEST?
- Why does get_post_meta not work with the posts page?
- How to get meta box values – WP tuts tutorial
- Change the post date from a meta box
- update_post_meta and get_post_meta not working
- Repeatable custom meta fields
- how to save multiple checkboxes value in wordpress dynamically
- Using WYSIWYG In custom meta boxes
- Multiplicate entry on update_post_meta
- Undefined index error in custom post metabox
- Custom Meta box only returns most recent value on page
- How to prevent further updates of custom meta when using actions to set one meta based on another
- How to create a button click counter meta box?
- meta box & callback function
- $_GET & $post_ID
- How to I retrieve the ID from the Posts page?
- get_post_meta as a list for drop down search filter
- Parse a text area custom meta box and assign as value to existing meta keys
- Getting metabox value?
- Hide Page Title with Post Meta
- Save meta data with post, Without using any plugin [closed]
- Editor meta box Showing but not saving
- How can i get multi checkboxes value in metbox?
- Show value of select dropdown in meta box
- remove a single post_meta
- Echo 2 values from one key in Array with get_post_custom
- save radio button selection in post-meta on submit
- post meta – problem : copy the same meta for all the articles
- Custom Meta Data is not being saved
- Update Post Meta in Front End with a form
- Update Post meta with custom variable
- get_post_meta not working on my custom-function page
- update_post_meta doesn’t work
- Removing Meta Generator
- Only allow one meta key value per post in a category
- use post meta in add_meta_boxes action
- Custom meta box not saving values of radio buttons in WordPress
- Can’t save drop down select date in meta boxes
- update_post_meta does not work
- add_post_meta not saved
- when saveing $meta_box i get Undefined index error
- Updating post meta and Meta Box plugin
- Related posts and custom meta_box?
- Select Options Meta Data is Not Updating in Edit Meta Box
- How to display meta box data using “Meta boxes as needed”
- Metadata in loops
- Allow iframe in custom meta box
- Calling Data from Custom Meta Box
- How can i remove blank area caused by theme’s post meta boxes?
- Datepicker altField and altFormat to save a new meta key/value in a post?
- My meta box don’t want to save value
- Add a Meta Box for uploading a SECOND Featured Image?
- Add Meta box Befoure Post Title
- How do I remove all the metaboxes for a custom post type?
- Create meta boxes that don’t show in custom fields
- Choosing a default page tempate (Classic => Gutenberg)
- How to remove the RichText Meta Box
- Add character count to custom metabox
- Update caption for metabox gallery images
- datetime_timestamp shows numbers only? need in date and time
- Custom Metabox with Ajax in Edit Post – Stuck
- How to verify meta box is registered in Unit Testing?
- Customize WordPress Media Upload and New Media Manager Menu in add post Metabox
- How to display a custom post type’s media library inline on meta box
- Modules with meta box implementations
- save_post action to include wp_insert_post_data filter, gathering meta field info & prevent infinite loop
- Add a Save Button to Custom Meta Box [duplicate]
- Show preview of post changes on page
- Add Metabox to settings / options page
- WPAlchemy MediaAccess inserting media link in WP Editor instead of custom field in metabox [closed]
- Meta Box will not display
- How can i use this meta box function in my template ? (WordPress)
- Move Title and the Content WYSIWYG editor position
- Display stored value in Meta Box
- How to add meta box for current post format?
- How to check specific value in two metabox?
- How to show taxonomy terms from wordpress database?
- Add a class to post_class if more than one post shares same meta_value_num
- Understanding WordPress’ post type support
- Function to return values from metabox
- Add a meta field to the list of results for a custom post type
- Set class if a meta value is set within post archive
- save meta data of custom post type: WP_Error has no effect, even if insufficient capabilities
- Option to delete value in metabox
- How we insert values into database using metabox WordPress?