Add an `edit_form_top` hook to the post edit form. props yurivictor. fixes #24861.

git-svn-id: http://core.svn.wordpress.org/trunk@24831 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Helen Hou-Sandí 2013-07-28 22:29:36 +00:00
parent c95a24f2d9
commit 43724e7735
1 changed files with 2 additions and 0 deletions

View File

@ -352,6 +352,8 @@ wp_nonce_field( 'meta-box-order', 'meta-box-order-nonce', false );
wp_nonce_field( 'closedpostboxes', 'closedpostboxesnonce', false );
?>
<?php do_action( 'edit_form_top', $post ); ?>
<div id="poststuff">
<div id="post-body" class="metabox-holder columns-<?php echo 1 == get_current_screen()->get_columns() ? '1' : '2'; ?>">
<div id="post-body-content">