-
Notifications
You must be signed in to change notification settings - Fork 0
Meta Box
Gene Alyson Fortunado Torcende edited this page Apr 11, 2020
·
7 revisions
accepts 1 parameter - the array of meta box configuration
ThemePlate()->post_meta( $config );
ThemePlate()->term_meta( $config );
ThemePlate()->user_meta( $config );
ThemePlate()->menu_meta( $config );
Each meta box is configured using these following keys:
id
title
fields
-
description
- '' -
show_on
- array() -
hide_on
- array() -
style
- '' -
priority
- 'default'
-
screen
- array() -
context
- 'advanced'
-
taxonomy
- array()