Adds content to the start of a token's current content.
int $stackPtr The position of the token in the token stack.:
string $content The content to add.:
bool If the change was accepted.
public function addContentBefore($stackPtr, $content) { $current = $this->getTokenContent($stackPtr); return $this->replaceToken($stackPtr, $content . $current); }