The job was done by creating one new table. And storing the Category ID and the User Meta value each and every time the category is created.
Now, just list the category with the Created By
value in the frontend.
Answer pulled from an OP comment.
Related Posts:
- How to add quick edit and bulk edit fields to users admin section
- WordPress admin deleted user details not removed in database. How to delete WordPress Users from Database
- How to build a fool proof AdSense revenue sharing model?
- Associate multiple email addresses with the same user account, so they can log in with either
- Update a user profile via frontend
- User avatar-ACF fields
- Create Unique and Customized User ID for Website Members in WordPress
- Is it mandatory to use $wpdb->prefix in custom tables
- add_action hook for completely new post?
- $wpdb->insert_id
- Add Custom User Capabilities Before or After the Custom User Role has Been Added?
- Where the Nickname is being used in WordPress
- Check for success of $wpdb->update() correctly
- WordPress and multithreading
- LEFT JOIN, INNER OUTER JOIN, LEFT OUTER JOIN is driving me crazy. Please help?
- $wpdb->insert is changing a value
- Actions or filters fired when data is saved in a custom table
- How to Make a Category Always Selected?
- Search multiple meta keys at once
- Querying Email Addresses for a List of Users with Same Last Name?
- Calling clean_term_cache() fails when called in the same plugin that creates terms, succeeds when called separately?
- How to use WP default post list tables in a plugin?
- Really simple query giving error in SQL syntax
- why creating tables using $wpdb is not being executed while installing plugins?
- What is rich_editing?
- Using $wpdb object in a widget
- prevent post to have multiple categories in my plugin
- Generating User(s) with Settings API
- $wpdb -> Batch insert from XML File?
- Function Get User Object By Username?
- Check if someone is editing a post (this content is currently locked)
- Show add_meta_box by selecting a specific category
- Modify users.php page to create page/post on button clicked
- In what part of the WordPress core does the users table and usermeta table get joined?
- Frontend language per user
- Is it possible to change a term slug before being saved to the database?
- SQL query for custom taxonomy slugs
- Force a user’s posts category
- wp_insert_category() setting the ‘cat_ID’ gives not array error
- Error on inserting a form value to database
- Display custom fields in frontside user profile
- Using WPDB to output raw XML fails because of wp-blog-header.php
- Send push when new post is published in a certain category
- Intermittent database errors when accessing WordPress database
- Storing data in wordpress database from ajax call from different website
- WordPress allows multiple users to have same email ID; and I’ve a problem with it!
- global $current_user not current user
- Filter Categories widget to allow custom sorting?
- wpdb->prepare and mysql UPDATE – how is it done?
- What is the proper way to get logged in user id in a plugin?
- Hide custom post type by user roles
- How can I add a simple custom field to my plugin?
- How to allow only two (or more) users access to a plugin
- First and last name fields not filled when using wp_insert_user
- Wp-admin Custom User Management
- Check if post belongs to any category
- $wpdb->update() always need a second try
- How to display the categories on page using shortcode?
- How to display the category id along with category name on categories list?
- add_action pre_term_description vs. pre_category_description
- Get emails from users by custom field SQL
- How to show parents of current page category, excluding the category?
- Best practice for Designing a Plugin with this scenario
- Data inserted by wpdb insert is different than data pressnt in database.
- WP Dropdown Categories, display subcategories but not grandchildren categories?
- $wpdb->prepare is not working like mysql_real_escape_string
- $wpdb in php 5.5
- how to get the top 10 popular blogs
- How can I change my assigned user role in WordPress 3.5.1?
- How to exclude categories from get_categories() select list inside a widget admin panel
- Mass Update User Profile Checkbox Options
- Why doesn’t my Table get created?
- Exclude Woocommerce Product Category From Sitemap
- Catching a GET parameter from the URL and save it in the user meta when a user registers
- How to show only the last two categories in a menu?
- How to display specific data from a custom table to logged in users with a custom role
- Adding a dropdown on the user admin
- How to get image path from id using SQL
- Why User_login key doesn’t work with wp_update_user()
- How to check category name available or not
- How to store sensitive user data (passwords)
- Insert, update or remove data from database (usermeta)
- delete category on plugin deactivation wordpress
- User meta query using Wildcard
- Hide post by ‘post_category’
- How to prevent users from deleting their accounts?
- Update database record in plugin
- Add a new tag based on the category name in the publish event
- WordPress function is not called and ajax return 0
- Dedicated server and WPDB Class : huge slow-down of the website
- Plugin MySQL SELECT custom data and filter on user meta
- How to CRUD from wordpress database in wordpress theme?
- Upgrade routine: Interaction with user confirmation
- Confusing problem with displaying message recipient metadata
- Private messaging – Getting and displaying the avatar/url of a message recipient
- I can’t write in my DB using $wpdb->insert
- $wpdb how can i save my postmeta table before querying it
- Multiple Users Logged In Causing Incorrect Account Returned
- What method would I use to show an image in between X amount of posts on category archive? [duplicate]
- multiple record insert creating many duplicate records