WordPress.org

Make WordPress Core

Ticket #14640: post_submitbox_end.patch

File post_submitbox_end.patch, 867 bytes (added by mvd7793, 16 months ago)

Adds a new action hook

  • wp-admin/includes/meta-boxes.php

     
    222222<?php 
    223223} ?> 
    224224</div> 
     225<?php do_action('post_submitbox_end'); ?> 
    225226<div class="clear"></div> 
    226227</div> 
    227228</div> 
     
    707708        <input name="save" type="submit" class="button-large button-primary" id="publish" accesskey="p" value="<?php esc_attr_e('Add Link') ?>" /> 
    708709<?php } ?> 
    709710</div> 
     711<?php do_action('post_submitbox_end'); ?> 
    710712<div class="clear"></div> 
    711713</div> 
    712714<?php do_action('submitlink_box'); ?> 
     
    979981function post_thumbnail_meta_box( $post ) { 
    980982        $thumbnail_id = get_post_meta( $post->ID, '_thumbnail_id', true ); 
    981983        echo _wp_post_thumbnail_html( $thumbnail_id, $post->ID ); 
    982 } 
    983  No newline at end of file 
     984}