get_recent_tags — Get the most recent tags.

View-related functions

Summary

get_recent_tags($limit = 10)

Get the most recent tags.

Parameters:
  • $limit (int) – The maximum number of recent tags to return

Returns:

array

Usage

Examples

Use the parameter to set the maximum number of recent tags to be displayed:

<?php echo get_recent_tags(5); ?>

See Also