WP_Theme::_check_headers_property_has_correct_type( $headers )

This function’s access is marked private. This means it is not intended for use by plugin or theme developers, only in other core functions. It is listed here for completeness.

Source

private static function _check_headers_property_has_correct_type( $headers ) {
	if ( ! is_array( $headers ) ) {
		return false;
	}
	foreach ( $headers as $key => $value ) {
		if ( ! is_string( $key ) || ! is_string( $value ) ) {
			return false;
		}
	}
	return true;
}

User Contributed Notes

You must log in before being able to contribute a note or feedback.