Wordpress Plugin generation list of accessible and locked lessons