Make WordPress Core


Ignore:
Timestamp:
02/03/2010 06:54:42 PM (16 years ago)
Author:
ryan
Message:

Allow registering a meta box callback for setting up meta boxes when creating the edit form for a custom post type. see #9674

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/edit-form-advanced.php

    r12927 r12937  
    140140    add_meta_box('revisionsdiv', __('Revisions'), 'post_revisions_meta_box', $post_type, 'normal', 'core');
    141141
     142do_action('add_meta_boxes', $post_type, $post);
     143do_action('add_meta_boxes_' . $post_type, $post);
     144
    142145do_action('do_meta_boxes', $post_type, 'normal', $post);
    143146do_action('do_meta_boxes', $post_type, 'advanced', $post);
Note: See TracChangeset for help on using the changeset viewer.