Completed
Push — add/wpcom-posts-package ( 70d0c5...6e10b4 )
by
unknown
46:43 queued 35:07
created

actions.php ➔ setup_thumbnail()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
nc 1
nop 0
dl 0
loc 3
rs 10
c 0
b 0
f 0
1
<?php
2
/**
3
 * Action Hooks for the WordPress.com's Posts enhancements.
4
 *
5
 * @package automattic/jetpack-wpcom-posts
6
 */
7
8
namespace Automattic\Jetpack\WPcom\Posts;
9
10
if ( ! defined( 'ABSPATH' ) ) {
11
	return;
12
}
13
14
/**
15
 * Initializes the thumbnail enhancements.
16
 */
17
function setup_thumbnail() {
18
	new Thumbnail();
19
}
20
21
add_action( 'init', __NAMESPACE__ . '\setup_thumbnail' );
22