# wp-stateless/3.1.1/static/views/setup_wizard_interface.php

WP-Stateless – Google Cloud Storage, version 3.1.1. 19 lines.

- Page: https://pluginprobe.com/plugins/wp-stateless/3.1.1/code/static/views/setup_wizard_interface.php
- Raw: https://pluginprobe.com/plugins/wp-stateless/3.1.1/raw/static/views/setup_wizard_interface.php
- Modified: 2020-12-23T10:20:04+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/wp-stateless/3.1.1/code/static/views/setup_wizard_interface.php#L10-L20`.

```php
<?php
  $consoleUrl = 'https://console.stateless.ci';
  $auth_token = \wpCloud\StatelessMedia\Utility::generate_wizard_auth_token();
  $api_root = get_rest_url();
  $is_network = intval(is_network_admin());
  $admin_url = admin_url();
?>

<script>
  (function($) {
    $(document).ready(function(){
      $('#consoleStatelessIframeWrapper')
        .html('<iframe id="console-stateless-wizard" src="<?php echo $consoleUrl ?>?wp_nonce=<?php echo $auth_token ?>&api_root=<?php echo $api_root ?>&is_network=<?php echo $is_network ?>&admin_url=<?php echo $admin_url ?>" />')
    })
  })(jQuery)
</script>

<div id="consoleStatelessIframeWrapper"></div>
<style>#wpfooter{display:none!important}</style>
```
