$column) : ?>
post_title); ?>
ID);
//get disable organizer fields
$organizer_fields = get_hidden_form_fields( 'event_manager_submit_organizer_form_fields', 'organizer');
$organizer_website = !in_array('organizer_website', $organizer_fields)?get_organizer_website($organizer):'';
$organizer_facebook = !in_array('organizer_facebook', $organizer_fields)?get_organizer_facebook($organizer):'';
$organizer_instagram = !in_array('organizer_instagram', $organizer_fields)?get_organizer_instagram($organizer):'';
$organizer_twitter = !in_array('organizer_twitter', $organizer_fields)?get_organizer_twitter($organizer):'';
$organizer_youtube = !in_array('organizer_youtube', $organizer_fields)?get_organizer_youtube($organizer):'';
if (empty($organizer_website) && empty($organizer_facebook) && empty($organizer_instagram) && empty($organizer_twitter) && empty($organizer_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_organizer_actions', $actions, $organizer);
foreach ($actions as $action => $value) {
$action_url = add_query_arg(array(
'action' => $action,
'organizer_id' => $organizer->ID
));
if ($value['nonce']) {
$action_url = wp_nonce_url($action_url, 'event_manager_my_organizer_actions');
}
echo wp_kses_post(' ');
}
?>
|