POMO_StringReader::seekto() public WP 1.0
{} It's a method of the class: POMO_StringReader{}
No Hooks.
Return
Int
. Null. Nothing.
Usage
$POMO_StringReader = new POMO_StringReader(); $POMO_StringReader->seekto( $pos );
- $pos(int) (required)
- -
Code of POMO_StringReader::seekto() POMO StringReader::seekto WP 5.7
function seekto( $pos ) {
$this->_pos = $pos;
if ( $this->strlen( $this->_str ) < $this->_pos ) {
$this->_pos = $this->strlen( $this->_str );
}
return $this->_pos;
}