RE: custom metabox
-
Hi,
I’ve created a custom metabox via functions.php to appear on Events in wp-admin with this content:
function display_email_em ( $post, $metabox ) {
global $EM_Event;
?>
<p><?php _e(‘Name’,’dbem’); ?> : <?php echo $EM_Event->event_owner_name; ?></p>
<p><?php _e(‘Email’,’dbem’); ?> : event_owner_email; ?>”,””,”width=1000,height=1000″);’><?php echo $EM_Event->event_owner_email; ?></p><?php
}It’s working, but the email value doesn’t populate when the event owner is an existing user. how do i make it so the email address value appears regardless if the owner is an existing user on the website or not?
Thanks,
Anne
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘RE: custom metabox’ is closed to new replies.