W3cubDocs

/WordPress

POMO_FileReader::seekto( int $pos )

Parameters

$pos

(int) (Required)

Return

(boolean)

Source

File: wp-includes/pomo/streams.php

function seekto( $pos ) {
			if ( -1 == fseek( $this->_f, $pos, SEEK_SET ) ) {
				return false;
			}
			$this->_pos = $pos;
			return true;
		}

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