Remove some articles from the list in WPAdmin for a user
This could done with couple of ways: With pre_get_posts Small modification will need it like the actual meta value names function alter_edit_php_query_remove_posts($query) { $screen = get_current_screen(); if(is_admin() && $screen->post_type == ‘post’) { $current_user = wp_get_current_user(); $key = ‘nickname’; $single = true; $user_meta_value = get_user_meta( $current_user->ID, $key, $single); $meta_query = array( array( ‘key’=>’_edit_last’, ‘value’=>$user_meta_value, ‘compare’=>’=’, ), … Read more