https://github.com/themeplate/meta
https://github.com/themeplate/meta
custom-metaboxes wordpress
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/themeplate/meta
- Owner: ThemePlate
- License: gpl-3.0
- Created: 2020-01-25T07:04:12.000Z (over 6 years ago)
- Default Branch: develop
- Last Pushed: 2023-04-25T05:28:18.000Z (about 3 years ago)
- Last Synced: 2025-01-02T18:37:47.260Z (over 1 year ago)
- Topics: custom-metaboxes, wordpress
- Language: PHP
- Size: 55.7 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ThemePlate Meta
## Usage
```php
use ThemePlate\Meta\MenuMeta;
( new MenuMeta( 'Custom Menu Meta' ) )->fields( $list )->create();
```
```php
use ThemePlate\Meta\PostMeta;
( new PostMeta( 'Custom Post Meta' ) )->fields( $list )->locaction( 'post_type' )->create();
```
```php
use ThemePlate\Meta\TermMeta;
( new TermMeta( 'Custom Term Meta' ) )->fields( $list )->locaction( 'taxonomy' )->create();
```
```php
use ThemePlate\Meta\UserMeta;
( new UserMeta( 'Custom User Meta' ) )->fields( $list )->create();
```