WooCommerce Code Reference

Positionable

Represents a CSS item that may have a position in the source CSS document (line number and possibly column number).

A standard implementation of this interface is available in the Position trait.

Table of Contents

getColNo()  : int<0, max>
getColumnNumber()  : int<0, max>|null
getLineNo()  : int<0, max>
getLineNumber()  : int<1, max>|null
setPosition()  : mixed

Methods

setPosition()

public setPosition(int<0, max>|null $lineNumber[, int<0, max>|null $columnNumber = null ]) : mixed
Parameters
$lineNumber : int<0, max>|null

Providing zero for this parameter is deprecated in version 8.9.0, and will not be supported from v9.0. Use null instead when no line number is available.

$columnNumber : int<0, max>|null = null
Return values
mixed