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

(array) (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

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