WordPress users metadata used to store additional data related to users. We will discuss how to set, retrieve, update and delete metadata.
Category: Wordpress
Working With WordPress Transients API
The wordpress transients API offers a simple and powerful way to store volatile data in database. It is similar to plugin options API but transients have an expiration time then it will expired and deleted.
How To Schedule Events Using WordPress Cron
Cron API is a great feature of wordpress. It allows wordpress to execute certain functions on a schedule. By default, wordpress schedule events to check for new versions and to check for plugins and themes updates. Every time your blog requested by visitor or search engine bot. WordPress check if there are any cron jobs to run.
Working With WordPress Shortcodes
Shortcodes enable developers to embed content that would require alot of complicated tasks. With shortcodes ,you can enhance your posts with few characters.
WordPress HTTP API Best Practice
After you fine tuned wordpress HTTP API ,it is the time to put your codes in a larger practice .I thick the best practice on HTTP API is wordpress plugin upgrades .Agreat trait of wordpress is that you can create plugins for public use and host them on wordpress servers .In this case you don’t have to think about plugin upgrades because twice daily ,wordpress sends requests to api.wordpress.org
to check latest updates (visit More Details) .One of these requests a list of all plugins currently installed .The API server replies with a list of new versions and informations about them if available .
How To Make HTTP Requests with WordPress
In the modern web “means 2.0”, Web applications communicate with each other to gather and share data in between .Your wordpress blog is no exception that’s why wordpress implemented a smart and powerful class WP_Http
since version 2.7.0 .This class supports all methods you need to use.
How To Internationalize Your WordPress Plugin
Internationalization is the process of preparing your wordpress plugins for use in many languages .although wordpress uses english as its default language,it is used all over the world and many of its users don’t read or write in english .also as a developer ,you may need to reach a large scale of users and provide a simple tool for users to add their languages.