frozzare/cleanify 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

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

frozzare/cleanify

最新稳定版本:v1.0.0

Composer 安装命令:

composer require frozzare/cleanify

包简介

Remove slug from custom post types permalinks

README 文档

README

No Maintenance Intended

Requires PHP 5.4

Simple WordPress plugin to remove slug from custom post types permalinks.

Install

composer require frozzare/cleanify

Example

Before: http://example.com/photograph/random-name

After: http://example.com/random-name

add_filter( 'cleanify/cpts', function () {
  return 'photograph';
} );

Filters

cleanify/cpts

Return all post types where the slug should be removed. Should be a string or array of strings.

License

MIT © Fredrik Forsmo

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2015-04-10