Solution:
I modified the line that says } else { add_post_meta( $message_id, '_participants', $message['message_to_id'] ); by changing _participants to _recipients, then also applied the new _recipients meta_key to where it displays on front-end.
Related Posts:
- How to securely controlling data without keeping it in postmeta?
- How to Add an Index to Plugin Database table
- Creating two database tables via plugin
- Where the Nickname is being used in WordPress
- How does WordPress handle MySQL row lock errors?
- Update Multiple Post Meta for the Same Post In One call?
- Updating post meta for custom post types
- How can I add a custom meta value on file upload?
- WordPress register_activation_hook table creation not working
- Current user in plugin returns NULL
- Default Plugin Settings Not Writing to Database
- Where to hook my plugin’s action
- Building an email signup form. Where should the information be saved in the DB?
- How to keep users unique id stored in session in addition to IP in WordPress plugin?
- Is Wrapping intval() Around esc_attr() Redundant for Escaping Input?
- How to get current post user id
- Plugin Options Not Saving to Database in WP 4.5
- How to create custom tables in WordPress using my own plugin?
- New User Form – Custom Menu Page
- Is it possible to create Custom Post plug-in?
- Help With MySQL to WPDB Query Conversion
- Prevent duplicate records in plugin table
- WordPress Backend HA (Automatic failover)
- Can I create a table on my DB without creating a plugin?
- WordPress : Explain Plugins & Theme string value in database
- Is it necessary to auto delete my WP plugin database tables when users deactivate/delete my plugin?
- How to insert and call new data in wordpress website database through a plugin
- WPDB: Update table
- Issue running db create table query from static method
- Separate database for a wordpress plugin
- How to get all posts belongs to a user between a certain date
- Best/Correct way to add an option to a category
- Add User Role: Pre-saved in User-Meta [SOLVED]
- Adding custom meta boxes to specified custom post type
- What is the WordPress approach to custom data?
- Set Multiple Meta Values as an Array Using dispatch( ‘core/editor’ ).editPost() Call in Gutenberg/JS
- How to create plugin/ page that reads from database
- DB Query not working in Plugin
- Comment “like” problem – “users who like this” avatar linking to current user profile instead of “liker’s” profile
- WordPress plugin: efficient way to store large data
- Remember the Meta Value With Radio Buttons
- Integrating Custom Database with WordPress
- How to display results from a data table with an encrypted user id?
- Disable Author Archive just for certain roles in bulk
- How to make a Product page without ordering and database
- Help to Create a Simple Plugin to make a post
- how to auto random increment for post view
- How to implement data residency in my WordPress site
- I want to schedule email (date, time is in database->table) wp_schedule_event() not working
- $wpdb->insert not working inside save_post tag
- “Enable Media Replace” plugin does not update serialized object in WPMeta
- Performance considerations – postmeta table versus new table for custom posts with foreign keys?
- How can I store user preferences in WordPress and retreive them later?
- How to get post that has non zero or greater than zero meta value
- Where do the section input fields values are stored in database
- Delete postmeta when uninstall/delete plugin
- My plugin can’t see my files
- Confusing problem with displaying message recipient metadata
- how can i get records from wp_postmeta table using particular meta_key in database?
- Storing values in Post Meta vs new tables
- Create New Admin Menu Section – Like how custom post type works, in a way
- Creating fields in the database
- How to submit the custom form data in database in WordPress without plugin?
- wordpress last all added get meta value by post id
- User register hook can’t access form request
- get_option returning a different value from what’s saved
- How can I delete the options from DB when the plugin is deleted?
- register_activation_hook not working
- On the same site, how do I send data from a plugin file to a theme file?
- plugin doesn’t retrieve data from database
- can not serialize and insert data from custom form
- Two people sharing user in WordPress [closed]
- ‘wp_login’ action hook not working with wp-login.php file
- Is it possible to enqueue CSS files from plugin before theme’s CSS files?
- What kind of data is that?
- Update Option Error: Notice: Undefined index
- Why this global array is returning NULL from a callback function
- Demystifying and understanding shortcode nomenclature
- How to define WordPress plugin shortcode globally for multisite?
- Cannot login to ADMIN even after changing password in phpmyadmin
- download_url() appears as grey icons
- Unable to create new database table upon plugin activation using dbDelta
- Global matrix for shortcodes/content for every page
- Plugin not appearing after uploading it via FTP
- How to add class in plugin only for network site?
- load_theme_textdomain path
- how to Include json manifest file in wp plugin
- How to upload user profile image from frontend in wordpress ?
- Plugin Development sqlite or WordPress’ database
- Is there any way to get all the name or slug of template parts used in a page?
- Dynamic CSS Vs Inline Issues in Code any Way around in a WordPress Themes?
- Is license need for free wordpress plugin
- How to transfer all user data between wordpress installations?
- How to make Http Request to a php file present in plugin directory of wordpress
- Create a custom page template inside my wordpress plugin
- Retrieving plugin options value saved through setting
- Embed a Google Sheet as you view it in a separate tab?
- Best way to hook a custom url?
- Getting user roles in plugin files
- Auto delete WordPress users according to time