Quick one - is there a way to add admin table columns for a Custom Modal that does not involve the use of MB Admin Columns?
We are required by the client to limit the number of 3rd party plugins used in the project and also need to be able to dynamically control the content displayed in the column based on the field value.
The new version of MB Admin Columns 1.6.0 supports showing admin columns for the custom fields in the custom model page. It will be included in the next release of MB AIO.
Thanks Long but I am really looking to do this more at a code level than via another plugin. Are there any hooks that we can utilise to define the columns and their respective content?
It would be too complicated to create the admin columns for the custom models. If you are familiar with coding, you can find some filter hooks in the file wp-content/plugins/mb-admin-columns/src/Model.php
Thanks for your suggestion that we talke a look at the Model.php file. Having done so we've managed to achieve 99% of what we need.
One final issue remains...how can we change the Primary Column. MB Custom Table inserts the 'id' column and this has the row actions within in. We are looking to move these row actions to another column. We would usually have used the following filter 'list_table_primary_column' but this seems not to have an effect.