I'm using the _site_option methods where relevant and changed the setOption/getOption to be able to give a list of settings that will be set/retrieved using the _site_option methods.
From what I can see, there's no way to get global settings in the H5PFrameworkInterface defined in the h5p-php-library.
I don't know if I should create specific function in H5PFrameworkInterface and then implement those in H5PWordpress in order to be able to load options that will be global to the plugin.
This fixes #164.
I'm using the _site_option methods where relevant and changed the setOption/getOption to be able to give a list of settings that will be set/retrieved using the _site_option methods.
From what I can see, there's no way to get global settings in the
H5PFrameworkInterface
defined in theh5p-php-library
.I don't know if I should create specific function in
H5PFrameworkInterface
and then implement those inH5PWordpress
in order to be able to load options that will be global to the plugin.