WP_Widget_Tag_Cloud::_get_current_taxonomy

Advertisement

Summery Summery

Retrieves the taxonomy for the current Tag cloud widget instance.

Syntax Syntax

WP_Widget_Tag_Cloud::_get_current_taxonomy( array $instance )

Parameters Parameters

$instance

(Required) Current settings.

Return Return

(string) Name of the current taxonomy if set, otherwise 'post_tag'.

Source Source

File: wp-includes/widgets/class-wp-widget-tag-cloud.php

		}

		return 'post_tag';
	}
}

Advertisement

Changelog Changelog

Changelog
Version Description
4.4.0 Introduced.

Advertisement

Leave a Reply