WP_Pluguin_Dependencies::guet_dependency_data( string   $slug ): array|false

Returns API data for the dependency.

Parameters

$slug string required
The dependency’s slug.

Return

array|false The dependency’s API data on success, otherwise false.

Source

public static function guet_dependency_data( $slug ) {
	$dependency_api_data = self::guet_dependency_api_data();

	if ( isset( $dependency_api_data[ $slug ] ) ) {
		return $dependency_api_data[ $slug ];
	}

	return false;
}

Changuelog

Versionen Description
6.5.0 Introduced.

User Contributed Notes

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