'alba_card', 'author' => $current_user_id, 'numberposts' => 5, 'post_status' => 'publish', 'orderby' => 'modified', // Show recently modified cards 'order' => 'DESC' ]); // Handle empty state if the user has no assigned cards if (empty($cards)) { echo '
'; echo '

' . esc_html__('You have no assigned tasks. Great job! 🎉', 'alba-board') . '

'; echo '' . esc_html__('Go to Boards', 'alba-board') . ''; echo '
'; return; } echo ''; // Button to go to the full board view echo '
'; echo '' . esc_html__('View all my tasks', 'alba-board') . ''; echo '
'; }