The Transients API in WordPress is a simple method for storing cached data in the database. It allows us to take resource-intensive queries and store them in temporary caches to improve performance. Transients are temporary, meaning that after a specified amount of time, the cached data will be deleted and re-cached, or updated. This quick [...]
View PostRetrieve Users Based on Meta Value
Posted on
by
Pippin
in
Advanced, Free Members, Member Restricted, Tutorials, WordPress Database, Working with Users
2 Comments
Just like the post meta system, WordPress has a powerful user meta system that allows developers to store additional “meta” information about the registered users in the database. This meta information can be just about anything you want it to be, and can serve a variety of purposes. At the time of writing this tutorial, [...]
View Post meta_key, meta_value, users, wpdbCreate Database Tables When Plugin is Activated
Posted on
by
Pippin
in
Intermediate, Quick Tips, Tutorials, WordPress Database, Writing Plugins
13 Comments
Using custom database tables for your WordPress plugins is one of the way that you can greatly improve the kind of plugins you are able to create. DB tables give you a way to manage, organize, and save data for your plugin, and creating them for your plugin is very simple.
View Post database, plugin, tools