digitoimistodude / air-light

💨 WordPress starter theme - designed to be minimal, ultra-lightweight (< 20 kB) and easy for all kinds of WordPress projects. 7+years/1000+hours of development and still updating daily! We prefer the original WordPress way of doing things so no strange templating languages or frameworks here.
https://airwptheme.com
MIT License
929 stars 139 forks source link

Control translatable post types and taxonomies from their class #179

Closed timiwahalahti closed 1 year ago

timiwahalahti commented 1 year ago

Instead the need of using Polylang filters pll_get_post_types and pll_get_taxonomies we could internally set the cpt and tax to translatable from the settings class created for it.