ralfhortt/wp-template-loader
最新稳定版本:1.1.2
Composer 安装命令:
composer require ralfhortt/wp-template-loader
包简介
A helper class to load template files from another location
README 文档
README
A helper class to load template files from another location
Installation
$ composer require ralfhortt/wp-template-loader
Usage
<?php use RalfHortt\TemplateLoader\TemplateLocator; // Will load WordPress front page from `views/front-page.php` (new TemplateLocator('views'))->register();
More Information about the WordPress hierarchy
统计信息
- 总下载量: 2.07k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 2
- 点击次数: 0
- 依赖项目数: 1
- 推荐数: 0
其他信息
- 授权协议: GPL-2.0-or-later
- 更新时间: 2019-05-31