Opal-Estate-Pro/templates/user/social-login/facebook-button.php

22 lines
615 B
PHP
Raw Normal View History

2019-09-10 06:27:33 +02:00
<?php
if ( ! defined( 'ABSPATH' ) ) {
exit();
}
if ( 'off' === opalestate_get_option( 'enable_facebook_login' ) ) {
return;
}
$facebook_app_id = opalestate_get_option( 'facebook_app_id', '' );
$facebook_secret = opalestate_get_option( 'facebook_secret', '' );
if ( ! $facebook_app_id || ! $facebook_secret ) {
return;
}
?>
<a href="javascript:void(0);" rel="nofollow" title="<?php esc_attr_e( 'Facebook', 'opalestate-pro' ); ?>" class="js-opal-facebook-login opalestate-social-login-facebook-btn">
2019-09-28 09:21:28 +02:00
<i class="fab fa-facebook"></i><?php esc_html_e( 'Connect with Facebook', 'opalestate-pro' ); ?>
2019-09-10 06:27:33 +02:00
</a>