WordPress at a glance
function is not described

getid3_id3v2::IsValidID3v2FrameName() public WP 1.0

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

No Hooks.

Return

true|false|Int.

Usage

$result = getid3_id3v2::IsValidID3v2FrameName( $framename, $id3v2majorversion );
$framename(string) (required)
-
$id3v2majorversion(int) (required)
-

Code of getid3_id3v2::IsValidID3v2FrameName() WP 5.7.2

<?php
public static function IsValidID3v2FrameName($framename, $id3v2majorversion) {
	switch ($id3v2majorversion) {
		case 2:
			return preg_match('#[A-Z][A-Z0-9]{2}#', $framename);

		case 3:
		case 4:
			return preg_match('#[A-Z][A-Z0-9]{3}#', $framename);
	}
	return false;
}