# jetpack/16.3/jetpack_vendor/automattic/jetpack-connection/actions.php

Jetpack – WP Security, Backup, Speed, &amp; Growth, version 16.3. 24 lines.

- Page: https://pluginprobe.com/plugins/jetpack/16.3/code/jetpack_vendor/automattic/jetpack-connection/actions.php
- Raw: https://pluginprobe.com/plugins/jetpack/16.3/raw/jetpack_vendor/automattic/jetpack-connection/actions.php
- Modified: 2025-11-24T17:00:32+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/jetpack/16.3/code/jetpack_vendor/automattic/jetpack-connection/actions.php#L10-L20`.

```php
<?php
/**
 * Action Hooks for Jetpack connection assets.
 *
 * @package automattic/jetpack-connection
 */

// If WordPress's plugin API is available already, use it. If not,
// drop data into `$wp_filter` for `WP_Hook::build_preinitialized_hooks()`.
if ( function_exists( 'add_action' ) ) {
	add_action(
		'plugins_loaded',
		array( Automattic\Jetpack\Connection\Connection_Assets::class, 'configure' ),
		1
	);
} else {
	global $wp_filter;
	// phpcs:ignore WordPress.WP.GlobalVariablesOverride.Prohibited
	$wp_filter['plugins_loaded'][1][] = array(
		'accepted_args' => 0,
		'function'      => array( Automattic\Jetpack\Connection\Connection_Assets::class, 'configure' ),
	);
}

```
