WordPress at a glance
function is not described

POMO_Reader::str_split() public WP 1.0

{} It's a method of the class: POMO_Reader{}

No Hooks.

Return

Array. Null. Nothing.

Usage

$POMO_Reader = new POMO_Reader();
$POMO_Reader->str_split( $string, $chunk_size );
$string(string) (required)
-
$chunk_size(int) (required)
-

Code of POMO_Reader::str_split() WP 5.7

<?php
function str_split( $string, $chunk_size ) {
	if ( ! function_exists( 'str_split' ) ) {
		$length = $this->strlen( $string );
		$out    = array();
		for ( $i = 0; $i < $length; $i += $chunk_size ) {
			$out[] = $this->substr( $string, $i, $chunk_size );
		}
		return $out;
	} else {
		return str_split( $string, $chunk_size );
	}
}