File "form-grant-access.php"
Full path: /home/kosmetik/public_html/wp-content/plugins/woocommerce/templates/auth/form-grant-access.php
File
size: 1.26 B
MIME-type: text/x-php
Charset: utf-8
Download Open Edit Advanced Editor Back
<?php
defined('ABSPATH') || exit;
?>
<?php
do_action('woocommerce_auth_page_header');
?>
<h1>
<?php
printf(esc_html__('%s would like to connect to your store', 'woocommerce'), esc_html($app_name));
?>
</h1>
<?php
wc_print_notices();
?>
<p>
<?php
printf(esc_html__('This will give "%1$s" %2$s access which will allow it to:', 'woocommerce'), '<strong>' . esc_html($app_name) . '</strong>', '<strong>' . esc_html($scope) . '</strong>');
?>
</p>
<ul class="wc-auth-permissions">
<?php
foreach ($permissions as $permission) {
?>
<li><?php
echo esc_html($permission);
?></li>
<?php
}
?>
</ul>
<div class="wc-auth-logged-in-as">
<?php
echo get_avatar($user->ID, 70);
?>
<p>
<?php
printf(esc_html__('Logged in as %s', 'woocommerce'), esc_html($user->display_name));
?>
<a href="<?php
echo esc_url($logout_url);
?>" class="wc-auth-logout"><?php
esc_html_e('Logout', 'woocommerce');
?></a>
</p>
</div>
<p class="wc-auth-actions">
<a href="<?php
echo esc_url($granted_url);
?>" class="button button-primary wc-auth-approve"><?php
esc_html_e('Approve', 'woocommerce');
?></a>
<a href="<?php
echo esc_url($return_url);
?>" class="button wc-auth-deny"><?php
esc_html_e('Deny', 'woocommerce');
?></a>
</p>
<?php
do_action('woocommerce_auth_page_footer');