$column) : ?>
post_title); ?>
ID);
//get disable venue fields
$venue_fields = get_hidden_form_fields( 'event_manager_submit_venue_form_fields', 'venue');
$venue_website = !in_array('venue_website', $venue_fields)?get_venue_website($venue):'';
$venue_facebook = !in_array('venue_facebook', $venue_fields)?get_venue_facebook($venue):'';
$venue_instagram = !in_array('venue_instagram', $venue_fields)?get_venue_instagram($venue):'';
$venue_twitter = !in_array('venue_twitter', $venue_fields)?get_venue_twitter($venue):'';
$venue_youtube = !in_array('venue_youtube', $venue_fields)?get_venue_youtube($venue):'';
if (empty($venue_website) && empty($venue_facebook) && empty($venue_instagram) && empty($venue_twitter) && empty($venue_youtube)) {
echo wp_kses_post('-');
} else { ?>
ID); ?>
post_status) {
case 'publish':
$actions['edit'] = array(
'label' => __('Edit', 'wp-event-manager'),
'nonce' => false
);
$actions['duplicate'] = array(
'label' => __('Duplicate', 'wp-event-manager'),
'nonce' => true
);
break;
}
$actions['delete'] = array(
'label' => __('Delete', 'wp-event-manager'),
'nonce' => true
);
$actions = apply_filters('event_manager_my_venue_actions', $actions, $venue);
foreach ($actions as $action => $value) {
$action_url = add_query_arg(array(
'action' => $action,
'venue_id' => $venue->ID
));
if ($value['nonce']) {
$action_url = wp_nonce_url($action_url, 'event_manager_my_venue_actions');
}
echo wp_kses_post(' ');
}
?>
|