承接 dartmoon/wordpress-utils 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

dartmoon/wordpress-utils

最新稳定版本:v1.0.1

Composer 安装命令:

composer require dartmoon/wordpress-utils

包简介

Some general functions for wordpress

README 文档

README

A simple utils plugin that lets you register the same handler to multiple filters without much effort.

Installation

If you use a Roots Bedrock or a composer-based WordPress installation

composer require dartmoon/wordpress-utils

If you use a normal WordPress installation

  1. Download and install a MU plugin loader that lets you use MU plugins that resides inside folders. For example you could use Bedrock Autoloader.

  2. Download the latest release of this plugin and extract it inside the mu-plugins folder of your WordPress installation.

Usage

It behave exactly as add_filter with the only exception that the first argument (the filter name) accepts an array instead of a string.

add_filters(['filter1', 'filter2'], function () {
    // ...
});

License

This project is licensed under the MIT License - see the LICENSE.md file for details

统计信息

  • 总下载量: 157
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2023-05-19