[wordpress插件] Dashboard Widgets API仪表板小部件API

wordpress 插件 文章 2020-04-12 15:10 524 0 全屏看文

AI助手支持GPT4.0

评分
0
描述

Similar to the Sidebar Widget API implementation, you can now create a class

类似于Sidebar Widget API的实现,您现在可以创建一个类

with methods for a settings form and widget display.

带有用于设置表单和窗口小部件显示的方法。

A sample widget is included.

其中包括一个示例小部件。

安装步骤

    1. Upload dashboard-widget-api.php to the /wp-content/plugins/ directory
    2. dashboard-widget-api.php 上载到 / wp-content / plugins / 目录

    3. Activate the plugin through the ‘Plugins’ menu in WordPress
    4. 通过WordPress中的“插件”菜单激活插件

    5. Create your widget class and require it in your theme or via a plugin.
    6. 创建窗口小部件类,并在您的主题中或通过插件要求它。

下载地址
https://downloads.wordpress.org/plugin/dashboard-widget-api.1.0.zip
-EOF-

AI助手支持GPT4.0