getid3_id3v1::LookupGenreID

Advertisement

Syntax Syntax

getid3_id3v1::LookupGenreID( string $genre, bool $allowSCMPXextended = false )

Parameters Parameters

$genre

(string) (Required)

$allowSCMPXextended

(bool) (Optional)

Default value: false

Return Return

(string|false)

Source Source

File: wp-includes/ID3/module.tag.id3v1.php

	/**
	 * @param string $genre
	 * @param bool   $allowSCMPXextended
	 *
	 * @return string|false
	 */
	public static function LookupGenreID($genre, $allowSCMPXextended=false) {
		$GenreLookup = self::ArrayOfGenres($allowSCMPXextended);
		$LowerCaseNoSpaceSearchTerm = strtolower(str_replace(' ', '', $genre));

Advertisement

Advertisement

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

What are you looking for?