jetpack_start_enable_sso, true
jetpack_start_enable_sso, true
Appears in: jetpack.16.0.1
Hook Type: filter
Displaying hooks found in version: jetpack.16.0.1apply_filters('jetpack_start_enable_sso, true') is found 4 times:
- /_inc/class.jetpack-provision.php line 244
* @since 5.0.0 * * @param bool $enable_sso Whether to enable the SSO module. Default to true. */ $other_modules = apply_filters( 'jetpack_start_enable_sso', true ) ? array( 'sso' ) : array(); $active_modules = Jetpack_Options::get_option( 'active_modules' ); if ( $active_modules ) { - /class-jetpack-xmlrpc-methods.php line 223
* @return void */ public static function remote_connect_end() { /** This filter is documented in class.jetpack-cli.php */ $enable_sso = apply_filters( 'jetpack_start_enable_sso', true ); Jetpack::handle_post_authorization_actions( $enable_sso, false, false ); } /** * Filters the Redirect URI returned by the remote_register XMLRPC method * - /class.jetpack-cli.php line 1430
* @since 5.0.0 * * @param bool $enable_sso Whether to enable the SSO module. Default to true. */ $enable_sso = apply_filters( 'jetpack_start_enable_sso', true ); Jetpack::handle_post_authorization_actions( $enable_sso, false ); /* translators: %d is a user ID */ WP_CLI::success( sprintf( __( 'Authorized %d and activated default modules.', 'jetpack' ), $current_user_id ) ); } else { /* translators: %d is a user ID */ - /class.jetpack.php line 4664
// If redirect_uri is SSO, ensure SSO module is enabled. parse_str( wp_parse_url( $data['redirect_uri'], PHP_URL_QUERY ), $redirect_options ); /** This filter is documented in class.jetpack-cli.php */ $jetpack_start_enable_sso = apply_filters( 'jetpack_start_enable_sso', true ); $activate_sso = ( isset( $redirect_options['action'] ) && 'jetpack-sso' === $redirect_options['action'] && $jetpack_start_enable_sso );