سلام
دوستان گل پاسخشو پیدا کردم پاسخ این میشه
//Manage Your Media Only
function users_own_attachments( $wp_query_obj ) {
global $current_user, $pagenow;
if( !is_a( $current_user, 'WP_User') )
return;
if( ( 'upload.php' != $pagenow ) &&
( ( 'admin-ajax.php' != $pagenow ) || ( $_REQUEST['action'] != 'query-attachments' ) ) ) // set('author', $current_user->id );
return;
}
add_action('pre_get_posts','users_own_attachments');
این کد در فانکشن قالب (functions.php) قرار بدید.