Settings or options also need to be supported by WP GraphQL. They should have a type. It is impossible to know what the data coming out of the settings is because it is arbitrary, so a union type of primitives should be used. WP GraphQL also needs to check for serialized PHP strings, which are often stored in the database. Possibly the new register_settings() API can be used.
Settings or options also need to be supported by WP GraphQL. They should have a type. It is impossible to know what the data coming out of the settings is because it is arbitrary, so a union type of primitives should be used. WP GraphQL also needs to check for serialized PHP strings, which are often stored in the database. Possibly the new
register_settings()
API can be used.