Closed spencerm closed 5 years ago
Hmmm, I see what you mean... Actually, the filter is not very well implemented nor well documented so I understand the confusion here but simply removing the "active" check here will break things for other users.
I'll make it so that it won't break for you on the next update and still include the "active" check :)
I want to add post-types via the xmlsf_post_types filter (before / without wp-admin), however it only worked if I disabled the
empty($settings['active'])
check