Title: Append User ID
Author: mrdl
Published: <strong>16.01.2020</strong>
Last modified: 16.01.2020

---

Шукати плагіни

![](https://ps.w.org/append-user-id/assets/banner-772x250.png?rev=2228344)

Цей плагін **не перевірявся з останніми 3-ма основними випусками WordPress**. Можливо,
він більше не може розроблятися або підтримуватися, і він може мати проблеми сумісності
при використанні з більш новими версіями WordPress.

![](https://ps.w.org/append-user-id/assets/icon-256x256.png?rev=2228344)

# Append User ID

 Від автора [mrdl](https://profiles.wordpress.org/mardellme/)

[Завантажити](https://downloads.wordpress.org/plugin/append-user-id.1.0.0.zip)

 * [Деталі](https://uk.wordpress.org/plugins/append-user-id/#description)
 * [Відгуки](https://uk.wordpress.org/plugins/append-user-id/#reviews)
 *  [Встановлення](https://uk.wordpress.org/plugins/append-user-id/#installation)
 * [Розробка](https://uk.wordpress.org/plugins/append-user-id/#developers)

 [Підтримка](https://wordpress.org/support/plugin/append-user-id/)

## Опис

Adds the current logged in user ID to a specified string

    ```
    [user_link url="https://domain.com/link"]A link[/user_link]
    ```

Will output the following HTML

    ```
    <a href="https://domain.com/link?user_id=1">A link<a/>
    ```

## Скріншоти

[⌊Frontend view⌉⌊Frontend view⌉[

Frontend view

## Встановлення

This section describes how to install the plugin and get it working.

 1. Upload the plugin files to the `/wp-content/plugins/append-user-id` directory, 
    or install the plugin through the WordPress plugins screen directly.
 2. Activate the plugin through the ‘Plugins’ screen in WordPress

## Часті питання

  How do I change the HTML output?

There are a few filters available to override certain parts of the output. The
 
main filter is `append_id_content` and can be used as follows:

    ```
    /**
     * Change HTML output
     */
     function your_theme_append_id_content ( $html, $url, $content ) {
        $link_html = '<a id="your_id" href="' . esc_url( $url ) . '">';
        $link_html .= esc_html( $content );
        $link_html .= '</a>';

        return $link_html;
     }
     add_filter( 'append_id_content', 'your_theme_append_id_content', 10, 3 );
    ```

## Відгуки

Для цього плагіна немає відгуків.

## Учасники та розробники

“Append User ID” — проект з відкритим вихідним кодом. В розвиток плагіну внесли 
свій вклад наступні учасники:

Учасники

 *   [ mrdl ](https://profiles.wordpress.org/mardellme/)

[Перекладіть “Append User ID” на вашу мову.](https://translate.wordpress.org/projects/wp-plugins/append-user-id)

### Цікавитесь розробкою?

[Перегляньте код](https://plugins.trac.wordpress.org/browser/append-user-id/), перегляньте
[сховище SVN](https://plugins.svn.wordpress.org/append-user-id/) або підпишіться
на [журнал розробки](https://plugins.trac.wordpress.org/log/append-user-id/) за 
допомогою [RSS](https://plugins.trac.wordpress.org/log/append-user-id/?limit=100&mode=stop_on_copy&format=rss).

## Журнал змін

#### 1.0.0

 * Initial release.

## Мета

 *  Версія **1.0.0**
 *  Останнє оновлення **7 років тому**
 *  Активних встановлень **10+**
 *  Версія WordPress ** 4.0 або вище **
 *  Tested up to **5.3.22**
 *  Версія PHP ** 5.6 або вище **
 *  Мова
 * [English (US)](https://wordpress.org/plugins/append-user-id/)
 * Позначки
 * [string](https://uk.wordpress.org/plugins/tags/string/)[tag](https://uk.wordpress.org/plugins/tags/tag/)
   [url](https://uk.wordpress.org/plugins/tags/url/)[userid](https://uk.wordpress.org/plugins/tags/userid/)
 *  [Розширений перегляд](https://uk.wordpress.org/plugins/append-user-id/advanced/)

## Оцінки

No reviews have been submitted yet.

[Your review](https://wordpress.org/support/plugin/append-user-id/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/append-user-id/reviews/)

## Учасники

 *   [ mrdl ](https://profiles.wordpress.org/mardellme/)

## Підтримка

Є що сказати? Потрібна допомога?

 [Перейти в форум підтримки](https://wordpress.org/support/plugin/append-user-id/)