Definition:
function post_custom_meta_box($post) {}
Display custom fields form fields.
Parameters
- object $post
Source code
function post_custom_meta_box($post) { ?> <div id="postcustomstuff"> <div id="ajax-response"></div> <?php $metadata = has_meta($post->ID); list_meta($metadata); meta_form(); ?> </div> <p><?php _e('Custom fields can be used to add extra metadata to a post that you can <a href="http://codex.wordpress.org/Using_Custom_Fields" target="_blank">use in your theme</a>.'); ?></p> <?php }
2567
No comments yet... Be the first to leave a reply!