通用API文档

💡 云策文档标注

概述

本文档概述了 WordPress 数据库 API 的整体结构,包括相关功能页面和接口,旨在帮助插件和主题开发者通过标准化的方式访问数据库中的数据。

关键要点

  • 数据库 API 是 WordPress 提供的插件/主题/扩展接口,用于访问存储在数据库层中的命名数据值。
  • 文档涵盖了多个核心 API,如 Options API、Transients API 和 Metadata API,共同构成了完整的数据库访问框架。
  • 通过学习这些 API,开发者可以轻松扩展 WordPress,实现高效、安全的数据库操作。

📄 原文内容

Overview

This page lists all holistic pages of a given Database related API. Each covers the functions involved in and use of a given set of functionality. Together they form what might be called the WordPress Database API, which is the plugin/theme/add-on interface created by the entire WordPress project in respect to access data as named values stored in the database layer.

If you’ve read through all of these you should have a good sense of how to extend WordPress through Plugins that do access the database in an easy way.

APIs