public static function maybe_split_parameters( $params ) {
		if ( ! \is_array( $params ) ) {
			// We can safely cast to an array here, as long as $params convertible to a string.
			$params = (array) \preg_split( self::RE_PARAMETER_SPLITTING, $params, -1, PREG_SPLIT_NO_EMPTY );
		}

		return $params;
	}
public static function maybe_split_parameters( $params ) {
		if ( ! \is_array( $params ) ) {
			// We can safely cast to an array here, as long as $params convertible to a string.
			$params = (array) \preg_split( self::RE_PARAMETER_SPLITTING, $params, -1, PREG_SPLIT_NO_EMPTY );
		}

		return $params;
	}
public static function maybe_split_parameters ( $ params ) { if ( ! \ is_array ( $ params ) ) { // We can safely cast to an array here, as long as $params convertible to a string. $ params = ( array ) \ preg_split ( self :: RE_PARAMETER_SPLITTING , $ params , - 1 , PREG_SPLIT_NO_EMPTY ) ; } return $ params ; }
If necessary, split the passed parameters string into an array.

@param  array|string $params Parameters.

@return array
If necessary split the passed parameters string into an array .