ProcessPageEdit::getEditUrl()

Get URL (or form action attribute) for editing this page

Usage

// basic usage
$string = $processPageEdit->getEditUrl();

// usage with all arguments
$string = $processPageEdit->getEditUrl(array $options = []);

Arguments

NameType(s)Description
$options (optional)array
  • id (int): Page ID to edit
  • modal (int|string): Modal mode, when applicable
  • context (string): Additional request context string, when applicable
  • language (int|Language|string): Language for editor, if different from user’s language
  • field (string): Only edit field with this name
  • fields (string): CSV string of fields to edit, rather than all fields on apge
  • fnsx (string): Field name suffix, applicable only when field or fields (above) is also set, in specific situations like repeaters
  • `uploadOnlyMode (string|int): Upload only mode (internal use)

Return value

string


ProcessPageEdit methods and properties

API reference based on ProcessWire core version 3.0.251