• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer
Jetpack a2z

Jetpack a2z

Jetpack a2z

  • Home
  • Plugins
  • Blocks
  • Shortcodes
  • APIs
  • Classes
  • Files
  • Hooks
  • Sitemap
  • Blog
Home / APIs / Jetpack_SSO::print_inline_admin_css() – Should we show the SSO login form?

You appear to be a bot. Output may be restricted

Description

Should we show the SSO login form?

$_GET['jetpack-sso-default-form'] is used to provide a fallback in case JavaScript is not enabled. The default_to_sso_login() method allows us to dynamically decide whether we show the SSO login form or not. The SSO module uses the method to display the default login form if we can not find a user to log in via SSO. But, the method could be filtered by a site admin to always show the default login form if that is preferred.

Usage

Jetpack_SSO::print_inline_admin_css();

Parameters

Returns

void

Source

File name: jetpack/modules/sso.php
Lines:

1 to 14 of 14
  public function print_inline_admin_css() {
    ?>
			<style>
				.jetpack-sso .message {
					margin-top: 20px;
				}

				.jetpack-sso #login .message:first-child,
				.jetpack-sso #login h1 + .message {
					margin-top: 0;
				}
			</style>
		<?php
  }
 

 View on GitHub View on Trac

Share this:

  • Click to share on Twitter (Opens in new window)
  • Click to share on Facebook (Opens in new window)
  • Click to share on LinkedIn (Opens in new window)
  • Click to share on Pinterest (Opens in new window)

Related

Published: 27 November 2019 | Last updated: 27 November 2019

Primary Sidebar

Information

Function name: Jetpack_SSO::print_inline_admin_css
Class ref: Jetpack_SSO
Plugin ref: Jetpack
Version: 9.2
Sourcefile: modules/sso.php
File ref: modules/sso.php
Deprecated?: No
API Letters: A,I,J,P,S

Footer

Jetpack a2z
Jetpack a2z
Jetpack a2z
WordPress 5.6
WordPress a2z
WordPress core a2z
Genesis Theme Framework a2z
Jetpack a2z
WordPress develop tests
Easy Digital Downloads a2z
WooCommerce a2z
Yoast SEO a2z
WordPress Blocks

Site:  jetpack.wp-a2z.org
© Copyright Jetpack a2z 2014-2021. All rights reserved.


Website designed and developed by Herb Miller
Proudly powered by WordPress and oik plugins

  • Home
  • Blog
  • Sitemap
  • Sites