File "bootstrap.php"

Full Path: /home/vantageo/public_html/cache/cache/cache/cache/.wp-cli/wp-content/plugins/mojo-marketplace-wp-plugin/vendor/bluehost/endurance-wp-module-sso/bootstrap.php
File size: 640 bytes
MIME-type: text/x-php
Charset: utf-8

<?php

if ( function_exists( 'add_action' ) ) {
	add_action( 'after_setup_theme', 'eig_module_sso_register' );
}

/**
 * Register the single sign-on module
 */
function eig_module_sso_register() {
	eig_register_module( array(
		'name'     => 'sso',
		'label'    => __( 'Single Sign-on', 'endurance' ),
		'callback' => 'eig_module_sso_load',
		'isActive' => true,
		'isHidden' => true,
	) );
}

/**
 * Load the single sign-on module
 */
function eig_module_sso_load() {

	require dirname( __FILE__ ) . '/functions.php';

	add_action( 'wp_ajax_nopriv_sso-check', 'eig_sso_handler' );
	add_action( 'wp_ajax_sso-check', 'eig_sso_handler' );

}