gdcpt_metabox_$metabox_header

gdcpt_metabox_$metabox_header

  • $metabox: code for the meta box from the meta box editor.

Action runs on top of the meta box before any fields are displayed.

If the meta box has code ‘movie’, action name would be: gdcpt_metabox_movie_header.

Example:

[php]function metabox_movie_header() {
// do something
}
add_action(‘gdcpt_metabox_movie_header’, ‘metabox_movie_header’);[/php]

Comments

Leave a Reply