I'm collecting meta key data, and I want to display it in the WordPress dashboard
问题 I found, and modified this for my needs, and put it in my functions.php: add_filter( 'manage_edit-shop_order_columns', 'MY_COLUMNS_FUNCTION' ); function MY_COLUMNS_FUNCTION( $columns ) { $new_columns = ( is_array( $columns ) ) ? $columns : array(); unset( $new_columns[ 'order_actions' ] ); //edit this for your column(s) //all of your columns will be added before the actions column $new_columns['dname'] = 'Dogs Name'; $new_columns['additional_allergies'] = 'Allergies'; //stop editing $new