@wp-playground/clientFunctionsdefineSiteUrldefineSiteUrl CallabledefineSiteUrl(php: UniversalPHP, args: Omit<DefineSiteUrlStep, step>, progressArgs?: StepProgress): anySets WP_HOME and WP_SITEURL constants for the WordPress installation. Using this step on playground.wordpress.net is moot. It is useful when building a custom Playground-based tool, like wp-now, or deploying Playground on a custom domain.Parametersphp: UniversalPHPA PHP instance or Playground client.args: Omit<DefineSiteUrlStep, step>optionalprogressArgs: StepProgressReturns any
Sets
WP_HOME
andWP_SITEURL
constants for the WordPress installation.Using this step on playground.wordpress.net is moot. It is useful when building a custom Playground-based tool, like
wp-now
, or deploying Playground on a custom domain.