PluginProbe
Jetpack – WP Security, Backup, Speed, & Growth / 16.3-a.7
Jetpack – WP Security, Backup, Speed, & Growth v16.3-a.7
16.3-a.5 16.3-a.7 16.3-a.3 16.3-a.1 16.2 16.2-beta 12.0.3 12.1.3 12.2.3 12.3.2 12.4.2 12.5.2 12.6.4 12.7.3 12.8.3 12.9.5 13.0.2 13.1.5 13.2.4 13.3.3 13.4.5 13.5.2 13.6.2 13.7.2 13.8.3 All 506 releases
← All changes | sal/class.json-api-site-base.php +10 -0 16.3-a.3 → 16.3-a.7 View file →
@@ -1893,5 +1893,15 @@
1893 1893 public function get_jetpack_recovery_mode_status() {
1894 1894 $status = get_option( 'jetpack_recovery_mode_status' );
1895 1895 return is_array( $status ) ? $status : null;
1896 1896 }
1897 +
1898 + /**
1899 + * Whether WordPress.com accounts must have two-step authentication to log in through SSO.
1900 + *
1901 + * @return bool
1902 + */
1903 + public function get_jetpack_sso_require_two_step() {
1904 + /** This filter is documented in projects/packages/connection/src/sso/class-helpers.php */
1905 + return (bool) apply_filters( 'jetpack_sso_require_two_step', get_option( 'jetpack_sso_require_two_step', false ) );
1906 + }
1897 1907 }