h5p / h5p-wordpress-plugin

Adds support for H5P Content in WordPress.
https://wordpress.org/plugins/h5p/
71 stars 74 forks source link

Make h5p_content_type_cache_updated_at a network setting #165

Closed n-goncalves closed 11 months ago

n-goncalves commented 1 year ago

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 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.