跳转到主要内容

最近更新的页面

Then /^STDOUT 应是一个包含以下内容的 JSON 数组:$/

WP-CLI 命令行手册

期望 STDOUT 输出有效的 JSON 数组。 用法 当预期数组中缺少某些项目时,会报错。 场景:我的示例场景 当 我运行 `wp plugin list --field=name --f...

由 壳壳虫 更新于 7 个月前

Then /^an email should (be sent|not be sent)$/

WP-CLI 命令行手册

检查邮件是否已发送(或未发送)。 用法 Scenario: 我的示例场景 When I run `wp user reset-password 1` Then an email shou...

由 壳壳虫 更新于 7 个月前

给定 WordPress 文件

WP-CLI 命令行手册

下载 WordPress 文件,无需安装。 使用方法 场景:我的示例场景 给定一个空目录 并且有 WordPress 文件 Behat 步骤文档在每次发布时从 WP-CLI 代码库生成。...

由 壳壳虫 更新于 7 个月前

给定 wp-config.php

WP-CLI 命令行手册

使用 wp config create 命令创建 wp-config.php 文件。 用法 场景:我的示例场景 给定一个空目录 并且有 WP 文件 并且有 wp-config.ph...

由 壳壳虫 更新于 7 个月前

给定这些已安装并激活的插件:

WP-CLI 命令行手册

安装并激活一个或多个插件。 使用方法 场景:我的示例场景 给定一个 WordPress 安装 并且这些已安装并激活的插件: """ akismet wordpre...

由 壳壳虫 更新于 7 个月前

给定 /^向 (.*?) 的 HTTP 请求将响应:$/

WP-CLI 命令行手册

模拟向指定 URL 的 HTTP 请求。 用法 场景:我的示例场景 给定向 https://api.github.com/repos/wp-cli/wp-cli/releases?per_p...

由 壳壳虫 更新于 7 个月前

Given /^save the (.+) file ([\'].+[^\'])?as \{(\w+)\}$/

WP-CLI 命令行手册

将给定文件的内容存储在一个变量中。 用法 Scenario: 我的示例场景 Given 一个使用 Composer 的 WP 安装 And 将 {RUN_DIR}/composer.js...

由 壳壳虫 更新于 7 个月前

Widget Structure

Elementor 开发者文档

Creating a custom Elementor Widget is not very different from creating a native WordPress widget....

由 壳壳虫 更新于 7 个月前

Widget Settings

Elementor 开发者文档

Before the widget rendering function starts generating the final HTML output, it needs to retriev...

由 壳壳虫 更新于 7 个月前

Widget Rendering

Elementor 开发者文档

The last step in widget development is to display the output. Each widget needs to render the dat...

由 壳壳虫 更新于 7 个月前

小部件推广

Elementor 开发者文档

Elementor 小部件在小部件面板中有两个内置位置用于推广和升级销售。 第一个选项是简单的“需要帮助?”链接,这是一个包含小部件通用信息的外部链接。 第二个选项是行动号召区域,提供升级到高级...

由 壳壳虫 更新于 7 个月前

Widget Output Caching

Elementor 开发者文档

Widget Output Caching Elementor offers a feature to minimize the impact of widgets on page perf...

由 壳壳虫 更新于 7 个月前

Widget Optimization

Elementor 开发者文档

Elementor provides various methods to optimize widgets and enhance performance. To maintain backw...

由 壳壳虫 更新于 7 个月前

Widget DOM Optimization

Elementor 开发者文档

Elementor widgets define their own markup in the render() method. However, Elementor wraps each ...

由 壳壳虫 更新于 7 个月前

Widget Information

Elementor 开发者文档

Elementor widget need to have a unique ID used in the code, and an addition basic information use...

由 壳壳虫 更新于 7 个月前

Widget Dependencies

Elementor 开发者文档

Some widgets are dependent on custom scripts for functionality and custom styles for look and fee...

由 壳壳虫 更新于 7 个月前

Widget Data

Elementor 开发者文档

Every widget requires basic information such as the widget ID, label and icon. In addition, a wid...

由 壳壳虫 更新于 7 个月前

Widget Controls

Elementor 开发者文档

Each widget needs to have some controls (setting fields), where users can select their data. This...

由 壳壳虫 更新于 7 个月前

小部件分类

Elementor 开发者文档

Elementor 的小部件分类用于将小部件分组管理。Elementor 初始化时,会注册多个默认分类。 只有当分类下分配有小部件时,该分类才会在部件面板中显示。 外部开发者可以创建新的分类,并...

由 壳壳虫 更新于 7 个月前

Simple Example

Elementor 开发者文档

Putting all these pieces together, we're going to create a simple Elementor widget which will use...

由 壳壳虫 更新于 7 个月前