Automattic / gutenberg-ramp

Control conditions under which Gutenberg loads - either from your theme code or from a UI
https://wordpress.org/plugins/gutenberg-ramp/
76 stars 15 forks source link

All options in the UI should be greyed out in the cases where Ramp sets Gutenberg to always or never load #72

Open maevelander opened 5 years ago

maevelander commented 5 years ago

Currently, nothing is greyed out in the UI in the case where Ramp sets Gutenberg to always or never load. (gutenberg_ramp_load_gutenberg() and gutenberg_ramp_load_gutenberg( false ); in functions.php )

Post types are (correctly) disabled/greyed out in the UI.

This could cause confusion where the UI appears available in wp-admin, but in fact does nothing because the function in the theme (correctly) overrides.