Beskrivning
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/>
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
Vanliga frågor
- How do I change the HTML output?
-
There are a few filters available to override certain parts of the output. The
main filter isappend_id_contentand 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 );
Recensioner
Detta tillägg har inga recensioner.
Bidragsgivare och utvecklare
”Append User ID” är programvara med öppen källkod. Följande personer har bidragit till detta tillägg.
Bidragande personerÖversätt ”Append User ID” till ditt språk.
Intresserad av programutveckling?
Läs programkoden, kika på SVN-filförvaret eller prenumerera på utvecklarloggen via RSS.
Ändringslogg
1.0.0
- Initial release.

