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

WP-Stateless – Google Cloud Storage, version 3.0.1. 17 lines.

- Page: https://pluginprobe.com/plugins/wp-stateless/3.0.1/code/static/views/setup_wizard_interface.php
- Raw: https://pluginprobe.com/plugins/wp-stateless/3.0.1/raw/static/views/setup_wizard_interface.php
- Modified: 2020-09-15T15:03:20+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.0.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();
?>

<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 ?>" />')
    })
  })(jQuery)
</script>

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