# extendify/3.1.0/tests/playwright/setup.php

Extendify, version 3.1.0. 27 lines.

- Page: https://pluginprobe.com/plugins/extendify/3.1.0/code/tests/playwright/setup.php
- Raw: https://pluginprobe.com/plugins/extendify/3.1.0/raw/tests/playwright/setup.php
- Modified: 2026-06-11T18:37:12+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/extendify/3.1.0/code/tests/playwright/setup.php#L10-L20`.

```php
<?php
require '/wordpress/wp-load.php';

$userId = 1;

// Mirrors the user-meta block in cypress/support/helpers.js cy.resetAll() so
// specs don't have to dismiss welcome guides / pattern modals on first paint.
$userSettings = [
	'core/edit-post' => [
		'welcomeGuide' => false,
		'core/edit-post/pattern-modal' => false,
		'pattern-modal' => false,
		'edit-post/pattern-modal' => false,
		'patternModal' => false,
	],
	'core/edit-site' => ['welcomeGuide' => false],
	'core' => ['enableChoosePatternModal' => false],
	'_modified' => gmdate('c'),
];
update_user_meta($userId, 'wp_persisted_preferences', $userSettings);

// Theme-agnostic "blueprint applied" marker for global-setup.ts. setup.php is
// the last blueprint step, so this lands after every other seed. Exposed via
// the public /?rest_route=/ JSON root (which echoes blogdescription) so the
// poller doesn't need auth.
update_option('blogdescription', 'extendify-pw-blueprint-ready');

```
