外掛說明
This plugin allows to mention WordPress users in a comment by writing usernames preceded by a character (default @), e.g. @guguweb.
The mentioned users will receive a notification email with a link to the relevant post.
The mention character (default @) can be customized by a filter hook: cum-mention-char
. Put the following code in your theme functions.php
file:
add_filter( 'cum-mention-char', 'cum_custom_char' );
function cum_custom_char( $content ) {
return '+';
}
And the mention character will be +, so you can mention with +guguweb.
This plugin was inspired by Mention comment’s Authors by Wabeo. Many thanks to the author!
安裝方式
- Upload the plugin’s folder into
/wp-content/plugins/
directory - Activate the plugin through the ‘Plugins’ menu in WordPress
- All done !
使用者評論
這個外掛目前沒有任何使用者評論。
參與者及開發者
變更記錄
version 0.2
- users mentions can be done by using only a preceding character (default @);
- mention char can be customized by means of a filter hook:
cum-mention-char
.