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

Jetpack a2z

Jetpack a2z

  • Home
  • Plugins
  • Blocks
  • Shortcodes
  • APIs
  • Classes
  • Files
  • Hooks
  • Sitemap
  • Blog
Home / Classes / Assets

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.

Extended by

Class name: Assets
Plugin ref: Jetpack
Version: 11.0
Sourcefile: vendor/automattic/jetpack-assets/src/Assets.php
File ref: jetpack_vendor/automattic/jetpack-assets/src/class-assets.php
API Letters: A

Related

Published: 27 November 2019 | Last updated: 17 June 2022

Primary Sidebar

Information

Class name: Assets
Plugin ref: Jetpack
Version: 11.0
Sourcefile: vendor/automattic/jetpack-assets/src/Assets.php
File ref: jetpack_vendor/automattic/jetpack-assets/src/class-assets.php
API Letters: A

Footer

Jetpack a2z
Jetpack a2z
Jetpack a2z
WordPress 6.0
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:  jetpack.wp-a2z.org
© Copyright Jetpack a2z 2014-2022. All rights reserved.


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

  • Home
  • Blog
  • Sitemap
  • Sites