Register theme feature API

Themes use the add_theme_support API to declare support for a particular theme feature. For instance, add_theme_support( ‘align-wide’ ) declares that a theme supports the wide alignment feature. When the Themes REST API controller was introduced in WordPress 5.0 , a minimal set of theme features were exposed (see #45016). In WordPress 5.4, this was expanded … Continue reading Register theme feature API