Is there a filter hook which changes the number of available columns in gallery settings screen. I’m talking about the : <label class="setting"> <span><?php _e('Columns'); ?></span> <select class="columns" name="columns"...
  • May 18, 2022
  • 0 Comments
I have a custom post type and trying to set custom columns, the date column is there by default, and it appears right after the title. Do I have...
  • May 18, 2022
  • 0 Comments
I have the following function which is working perfectly for my ‘video’ custom post type to display customized columns in the dashboard. I have decided the way my plugin...
  • May 18, 2022
  • 0 Comments
I’ve hidden the username column from users administration with the following code: function modify_user_columns($column) { $column = array( "cb" => "<input type=\"checkbox\" />", "username" => __('Username'), "name" => __('Name'),...
  • May 18, 2022
  • 0 Comments
How can i disable/remove the columns for Media Library? I want for author and comments column. Thanks in advance. 1 Answer 1 The hook for these columns is manage_media_columns....
  • May 15, 2022
  • 0 Comments
At the moment I’m doing add_filter("manage_edit-comments_columns", function($columns) { unset($columns["author"]); $columns_one = array_slice($columns,0,1); $columns_two = array_slice($columns,1); $columns_one["user"] = "User"; $columns = $columns_one + $columns_two; return $columns; }); add_filter( 'manage_comments_custom_column', function($column,...
  • May 9, 2022
  • 0 Comments