Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nadimtuhin/wp-utility
wordpress utility functions
https://github.com/nadimtuhin/wp-utility
Last synced: 25 days ago
JSON representation
wordpress utility functions
- Host: GitHub
- URL: https://github.com/nadimtuhin/wp-utility
- Owner: nadimtuhin
- Created: 2015-04-20T10:28:54.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2015-04-20T10:51:59.000Z (over 9 years ago)
- Last Synced: 2024-04-15T01:14:37.014Z (7 months ago)
- Language: PHP
- Homepage:
- Size: 121 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ThemeXpert WpUtility
## Example
```php
require "vendor/autoload.php";use ThemeXpert\WpUtility\Metabox;
class XBox extends Metabox{
public function render($post){
return view(__DIR__ . "/settings.php", array("name"=>"Tuhin"));
}public function save($post_id){
echo "saving.."; die();
}
}$box = new XBox("ps", "Page Sections", ["page_section"]);
```## Installation
install with composer```json
{
"require": {
"themexpert/wp-utility":"dev-master"
}
}
```