1.
Paket
auswählen

 

 

 

 

2.
Domain
angeben

 

 

 

 

3.
Screenshots
hochladen

 

 

 

4.
Wir
kümmern
uns darum!

 

Inhaltsverzeichnis

Fügen Sie Ihrem WooCommerce Backend ein neue Funktion hinzu.

Einfach folgenden Code in die function.php des WordPress Themes kopieren

// WP DASHBOARD - USERS - FÜGT EINE NEUE SPALTE HINZU
add_filter( 'manage_users_columns', 'custom_modify_user_table' );
function custom_modify_user_table( $columns ) {
$columns['registration_date'] = 'Datum Registrierung'; // add new
return $columns;
}
// SPALTENINHALT
add_filter( 'manage_users_custom_column', 'custom_modify_user_table_row', 10, 3 );
function custom_modify_user_table_row( $row_output, $column_id_attr, $user ) {
$date_format = 'j M, Y H:i';
switch ( $column_id_attr ) {
case 'registration_date' :
return date( $date_format, strtotime( get_the_author_meta( 'registered', $user ) ) );
break;
default:
}
return $row_output;
}
// SORTIERUNG
add_filter( 'manage_users_sortable_columns', 'custom_make_registered_column_sortable' );
function custom_make_registered_column_sortable( $columns ) {
return wp_parse_args( array( 'registration_date' => 'registered' ), $columns );
}