themeplate / meta
ThemePlate custom meta boxes
v2.2.1
2023-04-25 04:47 UTC
Requires
- php: ^7.4|^8.0
- themeplate/core: ^2.0
Requires (Dev)
- themeplate/tester: ^2.0
README
Usage
use ThemePlate\Meta\MenuMeta; ( new MenuMeta( 'Custom Menu Meta' ) )->fields( $list )->create();
use ThemePlate\Meta\PostMeta; ( new PostMeta( 'Custom Post Meta' ) )->fields( $list )->locaction( 'post_type' )->create();
use ThemePlate\Meta\TermMeta; ( new TermMeta( 'Custom Term Meta' ) )->fields( $list )->locaction( 'taxonomy' )->create();
use ThemePlate\Meta\UserMeta; ( new UserMeta( 'Custom User Meta' ) )->fields( $list )->create();