Fix phpdoc
Replaced the glossaty URL building with WP page API
Replaced static url with WP page API