{# # REST API Auth Grant Access Form (Bootstrap 5 Override) # # Confirmation page for granting third-party app access via OAuth. # Rendered outside the WordPress theme (standalone page). # # Expected context: # app_name - Name of the requesting application # scope - Access scope (read, write, read_write) # permissions - Array of permission description strings # callback_url - Callback URL for the application # return_url - URL to return to on deny # granted_url - URL to redirect to on approve # logout_url - URL to log out # user - WP_User object of the logged-in user # # WooCommerce PHP equivalent: auth/form-grant-access.php # # @package WcBootstrap # @since 0.1.0 #} {{ do_action('woocommerce_auth_page_header') }}
{{ __('This will give "%1$s" %2$s access which will allow it to:')|format( '' ~ app_name|esc_html ~ '', '' ~ scope|esc_html ~ '' )|wp_kses_post }}