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

git-svn-id: https://develop.svn.wordpress.org/trunk@24831 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Helen Hou-Sandi 2013-07-28 22:29:36 +00:00
parent 828514ac0b
commit 34141c5af4
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">