Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function cwf_create_enquiry_metabox_html() // Create custom metabox HTML
- {
- $post_id = $_GET['post'];
- echo '<p class="sender_information">' . wpautop(esc_textarea(get_post_meta($post_id, 'message', true))) . '</p>';
- echo '<p class="sender_information">Received: <b>' . get_the_time('j F Y @ H:i', $post->ID) . '</b></p>';
- }
- add_meta_box('sender-information', 'Sender Information', 'cwf_create_sender_information_metabox_html', 'form-enquiry', 'side');
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement