Methods
1 to 16 of 16
- Assets::__construct() – Constructor.
- Assets::add_async_script() – A public method for adding the async script.
- Assets::add_resource_hint() – Passes an array of URLs to wp_resource_hints.
- Assets::alias_textdomain() – Register a textdomain alias.
- Assets::alias_textdomains_from_file() – Register textdomain aliases from a mapping file.
- Assets::enqueue_async_script() – A helper function that lets you enqueue scripts in an async fashion.
- Assets::enqueue_script() – Enqueue a script registered with `Assets::register_script`.
- Assets::filter_gettext_with_context() – Filter for `gettext_with_context`.
- Assets::filter_gettext() – Filter for `gettext`.
- Assets::filter_load_script_translation_file() – Filter for `load_script_translation_file`.
- Assets::filter_ngettext_with_context() – Filter for `ngettext_with_context`.
- Assets::filter_ngettext() – Filter for `ngettext`.
- Assets::init_domain_map_hooks() – Register the hooks for textdomain aliasing.
- Assets::init_hooks() – Initalize the hooks as needed.
- Assets::instance() – Get the singleton instance of the class.
- Assets::staticize_subdomain() – Serve a WordPress.com static resource via a randomized wp.com subdomain.