includes/admin/wsl.admin.ui.php 1 location
|
@@ 521-529 (lines=9) @@
|
518 |
|
/** |
519 |
|
* Enqueue WSL admin CSS file |
520 |
|
*/ |
521 |
|
function wsl_add_admin_stylesheets() |
522 |
|
{ |
523 |
|
if( ! wp_style_is( 'wsl-admin', 'registered' ) ) |
524 |
|
{ |
525 |
|
wp_register_style( "wsl-admin", WORDPRESS_SOCIAL_LOGIN_PLUGIN_URL . "assets/css/admin.css" ); |
526 |
|
} |
527 |
|
|
528 |
|
wp_enqueue_style( "wsl-admin" ); |
529 |
|
} |
530 |
|
|
531 |
|
add_action( 'admin_enqueue_scripts', 'wsl_add_admin_stylesheets' ); |
532 |
|
|
includes/widgets/wsl.auth.widgets.php 1 location
|
@@ 527-535 (lines=9) @@
|
524 |
|
/** |
525 |
|
* Enqueue WSL CSS file |
526 |
|
*/ |
527 |
|
function wsl_add_stylesheets() |
528 |
|
{ |
529 |
|
if( ! wp_style_is( 'wsl-widget', 'registered' ) ) |
530 |
|
{ |
531 |
|
wp_register_style( "wsl-widget", WORDPRESS_SOCIAL_LOGIN_PLUGIN_URL . "assets/css/style.css" ); |
532 |
|
} |
533 |
|
|
534 |
|
wp_enqueue_style( "wsl-widget" ); |
535 |
|
} |
536 |
|
|
537 |
|
add_action( 'wp_enqueue_scripts' , 'wsl_add_stylesheets' ); |
538 |
|
add_action( 'login_enqueue_scripts', 'wsl_add_stylesheets' ); |