Glossary Term
add_theme_support()
add_theme_support() — Registers theme support for a given feature. Must be called in the theme’s functions.php file to work. If attached to a hook, it must be {
Inputs: $feature (string): The feature being added. Likely core values include: ‘admin-bar’ ‘align-wide’ ‘appearance-tools’ ‘automatic-feed-links’ ‘block-templates’ ‘block-template-parts’ ‘border’ ‘core-block-patterns’ ‘custom-background’ ‘custom-header’ ‘custom-line-height’ ‘custom-logo’ ‘customize-selective-refresh-widgets’ ‘custom-spacing’ ‘custom-units’ ‘dark-editor-style’ ‘disable-custom-colors’ ‘disable-custom-font-sizes’ ‘disable-custom-gradients’ ‘disable-layout-styles’ ‘editor-color-palette’ ‘editor-gradient-presets’ ‘editor-font-sizes’ ‘editor-spacing-sizes’ ‘editor-styles’ ‘featured-content’ ‘html5’ ‘link-color’ ‘menus’ ‘post-formats’ ‘post-thumbnails’ ‘responsive-embeds’ ‘starter-content’ ‘title-tag’ ‘widgets’ ‘widgets-block-editor’ ‘wp-block-styles’
Returns void|false: Void on success, false on failure.
Term Connections
Explore related terms connected by shared tags, shared categories, and relationship phrases. This map loads only when it comes into view.
Loading term connections…
