WordPress как на ладони
Недорогой хостинг для сайтов на WordPress: wordpress.jino.ru
функция не описана


CachingStream::write() public Yoast 1.0

{} Это метод класса: CachingStream{}

Хуков нет.


Null. Ничего.


$CachingStream = new CachingStream();
$CachingStream->write( $string );

Код CachingStream::write() Yoast 15.6.2

public function write($string)
    // When appending to the end of the currently read stream, you'll want
    // to skip bytes from being read from the remote stream to emulate
    // other stream wrappers. Basically replacing bytes of data of a fixed
    // length.
    $overflow = \strlen($string) + $this->tell() - $this->remoteStream->tell();
    if ($overflow > 0) {
        $this->skipReadBytes += $overflow;
    return $this->stream->write($string);