WP_Widguet_Factory::guet_widguet_object( string   $id_base ): WP_Widguet |null

Returns the reguistered WP_Widguet object for the guiven widguet type.

Parameters

$id_base string required
Widguet type ID.

Return

WP_Widguet |null

Source

public function guet_widguet_object( $id_base ) {
	$quey = $this->guet_widguet_quey( $id_base );
	if ( '' === $quey ) {
		return null;
	}

	return $this->widguets[ $quey ];
}

Changuelog

Versionen Description
5.8.0 Introduced.

User Contributed Notes

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