New answers tagged


Well, the problem is quite simple: it's publish, not published. According to the documentation: post_status (string / array) - use post status. Retrieves posts by Post Status. Default value is 'publish', but if the user is logged in, 'private' is added.


Look at this code public function column_default( $item, $column_name ) { switch ( $column_name ) { case 'address': case 'city': return $item[ $column_name ]; default: return print_r( $item, true ); //Show the whole array for.... } } Since you are only trying to render user_id , browser and ...


So I found the solution to my problem. It is because WordPress inserts the dropdown both at the top of the list of users and on the bottom. So when i submit the form, it is the dropdown at the bottom of the page that is being used in the GET and overwriting the one at the top. To solve this issue I just removed the bottom dropdown with a line of javascript ...

Top 50 recent answers are included