get_tags_to_edit

The timeline below displays how wordpress function get_tags_to_edit has changed across different WordPress versions. If a version is not listed, refer to the next available version below.

WordPress Version: 6.1

/**
 * Gets comma-separated list of tags available to edit.
 *
 * @since 2.3.0
 *
 * @param int    $post_id
 * @param string $taxonomy Optional. The taxonomy for which to retrieve terms. Default 'post_tag'.
 * @return string|false|WP_Error
 */
function get_tags_to_edit($post_id, $taxonomy = 'post_tag')
{
    return get_terms_to_edit($post_id, $taxonomy);
}

WordPress Version: 5.7

/**
 * Get comma-separated list of tags available to edit.
 *
 * @since 2.3.0
 *
 * @param int    $post_id
 * @param string $taxonomy Optional. The taxonomy for which to retrieve terms. Default 'post_tag'.
 * @return string|false|WP_Error
 */
function get_tags_to_edit($post_id, $taxonomy = 'post_tag')
{
    return get_terms_to_edit($post_id, $taxonomy);
}

WordPress Version: 4.2

/**
 * Get comma-separated list of tags available to edit.
 *
 * @since 2.3.0
 *
 * @param int    $post_id
 * @param string $taxonomy Optional. The taxonomy for which to retrieve terms. Default 'post_tag'.
 * @return string|bool|WP_Error
 */
function get_tags_to_edit($post_id, $taxonomy = 'post_tag')
{
    return get_terms_to_edit($post_id, $taxonomy);
}

WordPress Version: 4.1

/**
 * {@internal Missing Short Description}}
 *
 * @since 2.3.0
 *
 * @param int $post_id
 * @return string|bool|WP_Error
 */
function get_tags_to_edit($post_id, $taxonomy = 'post_tag')
{
    return get_terms_to_edit($post_id, $taxonomy);
}

WordPress Version: 3.7

/**
 * {@internal Missing Short Description}}
 *
 * @since 2.3.0
 *
 * @param unknown_type $post_id
 * @return unknown
 */
function get_tags_to_edit($post_id, $taxonomy = 'post_tag')
{
    return get_terms_to_edit($post_id, $taxonomy);
}