ارسال تمرین حذف

پرسیده شده
فعالیت 1068 روز پیش
دیده شده 428 بار
0

if (isset($_GET['action']) && $_GET['action'] == 'delete_mobil') {
       $usersID = intval($_GET['id']);
       delete_user_meta($usersID, 'mobile');
   }

   if (isset($_GET['action']) && $_GET['action'] == 'delete_wallet') {
       $usersID = intval($_GET['id']);
       delete_user_meta($usersID, 'wallet');
   }

       <td><?php echo get_user_meta($user->ID, 'mobile', true) ?><a href="<?php echo add_query_arg(['action' => 'delete_mobil', 'id' => $user->ID]) ?>">  حذف کردن </a></td>
               <td><?php echo get_user_meta($user->ID, 'wallet', true) ?><a href="<?php e

فایل پیوست

Mina Kalateh
Mina Kalateh

5 خرداد 00