MarkupQA::sleepLinks()

Sleep href attributes, adding a data-pwid attribute to <a> tags that resolve to a Page

Should be used AFTER sleepUrls() has already been called, so that any URLs are already relative to "/" rather than potential "/subdir/".

Usage

$markupQA->sleepLinks(string $value);

Arguments

NameType(s)Description
$valuestring

MarkupQA methods and properties

API reference based on ProcessWire core version 3.0.251