Skip to content

Instantly share code, notes, and snippets.

View AhmedTheGeek's full-sized avatar

Ahmed Hussein AhmedTheGeek

View GitHub Profile
@AhmedTheGeek
AhmedTheGeek / skyverge-php-engineer-code-review-1.php
Created May 14, 2020 18:54
skyverge-php-engineer-code-review-1.php
<?php
/**
* This code retrieves course data from an external API and displays it in the user's
* My Account area. A merchant has noticed that there's a delay when loading the page.
*
* == What changes would you suggest to reduce or remove that delay? ==
*/
public function add_my_courses_section() {
global $current_user;
/*
* objects-transponder
*
* 2015-09-16
*
* By Ahmed Hussein, http://ahmedgeek.com
* Public Domain.
* NO WARRANTY EXPRESSED OR IMPLIED. USE AT YOUR OWN RISK.
*/