June 2017
Beginner to intermediate
368 pages
8h 31m
English
Make a copy of the block_completion_progress_bar() function and rename it block_completion_progress_json():

Next, we need to create an array of data that we need to pass to the browser. We will need to transfer:
It would also be helpful to the user if they could access an activity by clicking on the progress chart, rather than trying to find it in the course, so we will also pass a link to each activity.
Let us study the code. The function opens with code to load the colors representing the progress ...
Read now
Unlock full access