WordPress – Core APIs

WordPress Core Application Programming Interface, commonly abbreviated as WordPress Core APIs is a collection of several individual APIs and each API covers the functions involved in adding a particular set of functionalities to WordPress. Together, they provide an interface for WordPress developers to write plugins and themes which can interact with the core.

Using these APIs, you can leave the heavy lifting to WordPress’ Core and be assured that your code is backward-compatible and future-proof.

Now that you have understood what WordPress Core APIs are, you can have a look at the below APIs to understand how to extend the functionality offered by WordPress through plugins.

You have learnt the following Core APIs in the Basic Plugin Development course.

Other Core APIs you need to learn and explore.

Explore more APIs from the WordPress Developer APIs Handbook.


Transient API

Explore these videos for insights and tutorials on Transient API. This section comprises 7 modules with a combined duration of 24 minutes.

Video ContentTime
Introduction to Transient API03:16
Fetching & Setting Transients03:41
How Transient API works03:47
Updating Transients03:23
Best Practices for Transient API01:57
Delete expired Transients01:35

Ideas to Explore:

  • Where are transients stored? How transient key is constructed and stored in DB?
  • When does transient get deleted and how? Where is the expiration time stored?