Hi
I have been using the recomended technique to extend MB_ADMIN_COLUMNS with my own columns. This has been working fine but has completerly stopped with 1.50 - the following code throws fatal errors now.
class SHS_Member_Link_Columns extends MB_Admin_Columns_Post {
public function columns( $columns ) {
$columns = parent::columns( $columns );
$this->add( $columns, 'member', 'Member', 'after', 'title' );
$this->add( $columns, 'subscription', 'Subscription', 'replace', 'date' );
// Add more if you want
return $columns;
}
public function show( $column, $post_id ) {
switch ( $column ) {
case 'member':
MB_Admin_Columns_Post is no longer declared, nor MB_Admin_Columns_User
OK OK I spotted it - now need to extend \MBAC\Post or \MBAC\User and it all works fine - I suggest you update the docs and add something to thje update notes
Cheers
Hywel