MarkupQA::wakeupLinks()

Wakeup href attributes, using the data-pwid attribute to update the href attribute as necessary

Should be used BEFORE wakeupUrls() is called so that href attributes are relative to "/" rather than a potential "/subdir/" that wouldn't be recognized as a page path.

Usage

$array = $markupQA->wakeupLinks($value);

Arguments

NameType(s)Description
$value

Return value

array

Returns array of replacements that were made 3.0.184+


MarkupQA methods and properties

API reference based on ProcessWire core version 3.0.251