Skip to content

Instantly share code, notes, and snippets.


Michael Ecklund michael-ecklund

View GitHub Profile
michael-ecklund / meta-box-publish.php
Last active Apr 2, 2016
Complete rewrite in code which is more "understandable" to me. Exact same code as core code found `post_submit_meta_box();` here: `/wp-admin/includes/meta-boxes.php`
View meta-box-publish.php
* Displays post submit form fields.
* @since 2.7.0
* @global string $action
* @param WP_Post $post Current post object.
* @param array $args {
* Array of arguments for building the post submit meta box.
You can’t perform that action at this time.