Append User ID
A plugin which adds some shortcode to append the current user ID to a link (href).
Maintenance 20/1002176d since update
Active installs
10
Downloads
1,091
Reviews
0
Age
6.0y
Tagsurltagstringuseridcurrentuserid
Plugin info
Total downloads: 1,091
Active installs: 10
Total reviews: 0
Average rating: 0
Support threads opened: 0
Support threads resolved: 0 (0%)
Available in: 1 language(s)
Contributors: 1
Last updated: 1/16/2020 (2176 days ago)
Added to WordPress: 1/16/2020 (5 years old)
Minimum WordPress version: 4.0
Tested up to WordPress version: 5.3.20
Minimum PHP version: 5.6
Maintenance & Compatibility
Maintenance score
Possibly abandoned • Last updated 2176 days ago
20/100
Is Append User ID abandoned?
Possibly abandoned (last update 2176 days ago).
Compatibility
Requires WordPress: 4.0
Tested up to: 5.3.20
Requires PHP: 5.6
Similar & Alternatives
Explore plugins with similar tags, and compare key metrics like downloads, ratings, updates, support, and WP/PHP compatibility.
No similar plugins found yet.
Description
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 link
Installation
This section describes how to install the plugin and get it working.
- Upload the plugin files to the
/wp-content/plugins/append-user-iddirectory, or install the plugin through the WordPress plugins screen directly. - Activate the plugin through the ‘Plugins’ screen in WordPress
Frequently Asked Questions
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 );
Review feed
No reviews available
Changelog
1.0.0
- Initial release.
