Automattic\WooCommerce\Vendor\Symfony\Component\CssSelector\Parser
Reader::getOffset
Method of the class: Reader{}
No Hooks.
Returns
null. Nothing (null).
Usage
$Reader = new Reader(); $Reader->getOffset( $string );
- $string(string) (required)
- .
Reader::getOffset() Reader::getOffset code WC 10.5.0
public function getOffset(string $string)
{
$position = strpos($this->source, $string, $this->position);
return false === $position ? false : $position - $this->position;
}