phpQueryObject::replaceWith PHP Method

replaceWith() public method

..
public replaceWith ( string | phpQuery $content ) : phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery
$content string | phpQuery
return phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery
    public function replaceWith($content)
    {
        return $this->after($content)->remove();
    }