When I am using manage_media_columns
filter of the WordPress I am getting the fatal error.
This is the code I have added in my functions.php file.
add_filter('manage_media_columns' , 'book_cpt_columns');
function book_cpt_columns($columns) {
$new_columns = array(
'publisher' => __('Publisher', 'ThemeName'),
'book_author' => __('Book Author', 'ThemeName'),
);
return array_merge($columns, $new_columns);
}
Error I am getting is "Too few arguments fatal error in Add New Media File page error."