| 1 |
<?php |
| 2 |
/** |
| 3 |
* Main UI admin page. |
| 4 |
* |
| 5 |
* The full config is fetched client-side from the `load` REST route; this |
| 6 |
* only needs to hand the app enough to make that first request. |
| 7 |
* |
| 8 |
* @package plugin_groups |
| 9 |
* @var $bootstrap array { |
| 10 |
* @type string $loadURL REST URL for the `load` route. |
| 11 |
* @type string $restNonce Nonce for X-WP-Nonce. |
| 12 |
* @type int $siteID Current site ID. |
| 13 |
* @type bool $networkAdmin Flag if in network admin. |
| 14 |
* } |
| 15 |
*/ |
| 16 |
|
| 17 |
?> |
| 18 |
<div class="plugin-groups-main flex h-full flex-col overflow-hidden" id="plg-app" data-bootstrap="<?php echo esc_attr( wp_json_encode( $bootstrap ) ); ?>"></div> |
| 19 |
|