• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer
WordPress a2z

WordPress a2z

WordPress Dynamic API Reference

  • Home
  • Plugins
  • Themes
  • Shortcodes
  • APIs
  • Classes
  • Files
  • Hooks
  • Sitemap
  • Blog
Home / APIs / twentytwentytwo_support() – Sets up theme defaults and registers support for various WordPress features.

You appear to be a bot. Output may be restricted

Description

Sets up theme defaults and registers support for various WordPress features.

Usage

$void = twentytwentytwo_support();

Parameters

Returns

void

Source

File name: twentytwentytwo/functions.php
Lines:

1 to 9 of 9
  function twentytwentytwo_support() {

    // Add support for block styles.
    add_theme_support( 'wp-block-styles' );

    // Enqueue editor styles.
    add_editor_style( 'style.css' );

  }
 

 View on GitHub

Published: 25th January 2022 | Last updated: 25th January 2022

Primary Sidebar

Information

Function name: twentytwentytwo_support
Plugin ref: Twenty Twenty-Two
Version: 1.3
Sourcefile: functions.php
File ref: functions.php
Deprecated?: No
API Letters: S,T

Footer

WordPress a2z
WordPress a2z
WordPress Dynamic API Reference
WordPress 6.1.1. PHP: 8.0.28
WordPress a2z
WordPress core a2z
Genesis Theme Framework a2z
Jetpack a2z
WordPress develop tests
Easy Digital Downloads a2z
WooCommerce a2z
Yoast SEO a2z
WordPress Blocks

Site:  wp-a2z.org
© Copyright WordPress a2z 2014-2023. All rights reserved.


Website designed and developed by Herb Miller
Proudly powered by WordPress and oik plugins

  • Home
  • Blog
  • Sitemap
  • Sites