| [ Index ] |
PHP Cross Reference of WordPress Trunk (Updated Daily) |
[Source view] [Print] [Project Stats]
Functions and definitions
| File Size: | 630 lines (18 kb) |
| Included or required: | 0 times |
| Referenced: | 0 times |
| Includes or requires: | 0 files |
| twenty_twenty_one_setup() X-Ref |
| Sets up theme defaults and registers support for various WordPress features. Note that this function is hooked into the after_setup_theme hook, which runs before the init hook. The init hook is too late for some features, such as indicating support for post thumbnails. return: void |
| twenty_twenty_one_widgets_init() X-Ref |
| Registers widget area. return: void |
| twenty_twenty_one_content_width() X-Ref |
| Sets the content width in pixels, based on the theme's design and stylesheet. Priority 0 to make it available to lower priority callbacks. return: void |
| twenty_twenty_one_scripts() X-Ref |
| Enqueues scripts and styles. return: void |
| twentytwentyone_block_editor_script() X-Ref |
| Enqueues block editor script. return: void |
| twenty_twenty_one_skip_link_focus_fix() X-Ref |
| Adds an HTML comment about the lack of Internet Explorer support. This originally printed a script to fix the skip link focus behavior in IE11. |
| twenty_twenty_one_non_latin_languages() X-Ref |
| Enqueues non-latin language styles. return: void |
| twentytwentyone_customize_preview_init() X-Ref |
| Enqueues scripts for the customizer preview. return: void |
| twentytwentyone_customize_controls_enqueue_scripts() X-Ref |
| Enqueues scripts for the customizer. return: void |
| twentytwentyone_the_html_classes() X-Ref |
| Calculates classes for the main <html> element. return: void |
| twentytwentyone_add_ie_class() X-Ref |
| Adds "is-IE" class to body if the user is on Internet Explorer. return: void |
| wp_get_list_item_separator() X-Ref |
| Retrieves the list item separator based on the locale. Added for backward compatibility to support pre-6.0.0 WordPress versions. return: string Locale-specific list item separator. |
| Generated : Mon Jun 15 08:20:09 2026 | Cross-referenced by PHPXref |