gdcpt_metabox_$metabox_field_after_$field

gdcpt_metabox_$metabox_field_after_$field

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

Action runs after each meta box custom field.

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

Example:

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

Comments

Leave a Reply