This plugin hasn’t been tested with the latest 3 major releases of WordPress. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

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

ਸਥਾਪਤੀਕਰਨ

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 );

ਸਮੀਖਿਆਵਾਂ

There are no reviews for this plugin.

ਯੋਗਦਾਨੀ ਤੇ ਵਿਕਾਸਕਾਰ

“Append User ID” is open source software. The following people have contributed to this plugin.

ਯੋਗਦਾਨੀ

“Append User ID” ਦਾ ਆਪਣੀ ਭਾਸ਼ਾ ਵਿੱਚ ਅਨੁਵਾਦ ਕਰੋ।

ਵਿਕਾਸ ਕਾਰਜ ਵਿੱਚ ਰੁਚੀ ਰੱਖਦੇ ਹੋ?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

ਤਬਦੀਲੀ-ਚਿੱਠਾ

1.0.0

  • Initial release.