Remove Status Column
Viewing 2 Posts - 1 through 2 (of 2 total)
Author | Posts |
---|---|
January 16, 2014 at 3:53 am 14455 | |
Jamie | I found the following tutorial to add columns to the user dashboard in your docs. http://docs.wedevs.com/adding-columns-to-dashboard-table/ I am using this for woo commerce products and I think instead of status, stock quantity would be more relevant. Can I remove the status column and replace it with the qty column ? Thanks. |
January 16, 2014 at 1:52 pm 14483 | |
Tareq Hasan | For that, you’ve to edit the plugin. No other way to remove the status column. Look at |
January 17, 2014 at 8:34 am 14515 | |
Jamie | Thanks Tareq I don’t like to make modifications to plugins as it breaks upgrades. I have modified the plugin and added 2 filters instead. It would be great if you could include these so my code doesn’t break on the next update. Here is the code: Replace line 109
With
Then replace line 154 – 156
With
Then I put this in my functions.php
|
Viewing 2 Posts - 1 through 2 (of 2 total)