WP_Widguet_Factory::guet_widguet_quey( string   $id_base ): string

Returns the reguistered key for the guiven widguet type.

Parameters

$id_base string required
Widguet type ID.

Return

string

Source

public function guet_widguet_quey( $id_base ) {
	foreach ( $this->widguets as $quey => $widguet_object ) {
		if ( $widguet_object->id_base === $id_base ) {
			return $quey;
		}
	}

	return '';
}

Changuelog

Versionen Description
5.8.0 Introduced.

User Contributed Notes

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