You appear to be a bot. Output may be restricted
Description
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.
Usage
twentytwenty_theme_support();
Parameters
Returns
void
Source
File name: twentytwenty/functions.php
Lines:
101 to 114 of 114
add_theme_support( 'customize-selective-refresh-widgets' ); /* * Adds `async` and `defer` support for scripts registered or enqueued * by the theme. */ $loader = new TwentyTwenty_Script_Loader(); add_filter( 'script_loader_tag', array( $loader, 'filter_script_loader_tag' ), 10, 2 ); }