email ); ?>
type ) : ?>
'edd-customers',
'view' => 'overview',
'id' => urlencode( $customer->id ),
)
);
$actions = array(
'promote' => array(
'url' => wp_nonce_url( add_query_arg( array( 'email' => rawurlencode( $email->email ), 'edd_action' => 'customer-primary-email' ), $base_url ), 'edd-set-customer-primary-email' ),
'label' => __( 'Make Primary', 'easy-digital-downloads' ),
),
'delete' => array(
'url' => wp_nonce_url( add_query_arg( array( 'email' => rawurlencode( $email->email ), 'edd_action' => 'customer-remove-email' ), $base_url ), 'edd-remove-customer-email' ),
'label' => __( 'Delete', 'easy-digital-downloads' ),
),
);
$action_links = array();
foreach ( $actions as $action => $args ) {
$action_links[] = sprintf(
' %s',
esc_attr( $action ),
esc_url( $args['url'] ),
esc_html( $args['label'] )
);
}
echo wp_kses( implode( ' | ', $action_links ), edd_get_allowed_tags() );
?>
|
|