Completed
Push — update/remove-setup-wizard ( 682b52...319559 )
by
unknown
595:57 queued 587:10
created

Jetpack_Wizard   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 18
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

Changes 0
Metric Value
dl 0
loc 18
rs 10
c 0
b 0
f 0
wmc 1
lcom 0
cbo 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A can_be_displayed() 0 11 1
1
<?php
2
/**
3
 * Deprecated since 9.5.0
4
 *
5
 * @deprecated
6
 * @package automattic/jetpack
7
 */
8
9
// phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
10
_deprecated_file( basename( __FILE__ ), 'jetpack-9.5.0' );
11
12
/**
13
 * Jetpack_Wizard class
14
 */
15
class Jetpack_Wizard {
16
	/**
17
	 * Can the Wizard be displayed?
18
	 *
19
	 * @return bool
20
	 */
21
	public static function can_be_displayed() {
22
		/**
23
		 * Determines if the Setup Wizard is displayed or not.
24
		 *
25
		 * @since 8.5.0
26
		 * @deprecated 9.4.0
27
		 *
28
		 * @param array $jetpack_show_setup_wizard If true, the Setup Wizard will be displayed. Otherwise it will not display.
29
		 */
30
		return false;
31
	}
32
}
33