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:
parent
828514ac0b
commit
34141c5af4
@ -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">
|
||||
|
Loading…
Reference in New Issue
Block a user