W3cubDocs

/WordPress

POMO_StringReader::seekto( int $pos )

Parameters

$pos

(int) (Required)

Return

(int)

Source

File: wp-includes/pomo/streams.php

function seekto( $pos ) {
			$this->_pos = $pos;
			if ( $this->strlen( $this->_str ) < $this->_pos ) {
				$this->_pos = $this->strlen( $this->_str );
			}
			return $this->_pos;
		}

© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/classes/pomo_stringreader/seekto