gdcpt_metabox_$metabox_field_footer_$field

gdcpt_metabox_$metabox_field_footer_$field

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

Action runs on bottom of each meta box custom field.

If the meta box has code ‘movie’, and field is ‘awards’, action name would be: gdcpt_metabox_movie_field_footer_awards.

Example:

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

Comments

Leave a Reply