Update
This commit is contained in:
@@ -89,6 +89,12 @@ class Opalestate_Social_Login {
|
||||
'id' => 'google_api_key',
|
||||
'type' => 'text',
|
||||
],
|
||||
[
|
||||
'name' => sprintf( __( 'Redirect URL: <code>%s</code>', 'opalestate-pro' ), add_query_arg( 'opal_google_login', '1', trailingslashit( get_home_url() ) ) ),
|
||||
'desc' => esc_html__( 'You need to add this URL when you create API keys.', 'opalestate-pro' ),
|
||||
'id' => 'google_api_redirect_url',
|
||||
'type' => 'title',
|
||||
],
|
||||
[
|
||||
'name' => esc_html__( 'Facebook', 'opalestate-pro' ),
|
||||
'desc' => '',
|
||||
@@ -120,6 +126,13 @@ class Opalestate_Social_Login {
|
||||
'id' => 'facebook_secret',
|
||||
'type' => 'text',
|
||||
],
|
||||
[
|
||||
'name' => sprintf( __( 'Redirect URL: <code>%s</code>', 'opalestate-pro' ), add_query_arg( 'opal_facebook_login', '1', trailingslashit( get_home_url() ) ) ),
|
||||
'desc' => esc_html__( 'You need to add this URL when you create API keys.', 'opalestate-pro' ),
|
||||
'id' => 'facebook_api_redirect_url',
|
||||
'type' => 'title',
|
||||
'after_row' => '<hr>',
|
||||
],
|
||||
] );
|
||||
|
||||
return $fields;
|
||||
|
||||
Reference in New Issue
Block a user