- Timestamp:
- 11/15/2021 07:13:33 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-content/themes/twentytwentytwo/functions.php
r52081 r52164 14 14 15 15 /** 16 * Add support for core block visual styles. 17 * Styles load in both the editor and the front end. 18 * 19 * @link https://developer.wordpress.org/block-editor/how-to-guides/themes/theme-support/#default-block-styles 16 * Sets up theme defaults and registers support for various WordPress features. 20 17 * 21 18 * @since Twenty Twenty-Two 1.0 … … 25 22 function twentytwentytwo_support() { 26 23 24 // Add support for block styles. 27 25 add_theme_support( 'wp-block-styles' ); 26 27 // Enqueue editor styles. 28 add_editor_style( 'style.css' ); 28 29 29 30 }
Note: See TracChangeset
for help on using the changeset viewer.