1. How to obtain the current user's information, such as mailbox, login name.
2. How to get a page for the plugin (not the background settings), similar to the emlog domain suffix? plugin=demo this?
I small white one, first contact Typecho.
Ask the great God to answer, thank you very much!!
Reply content:
1. How to obtain the current user's information, such as mailbox, login name.
2. How to get a page for the plugin (not the background settings), similar to the emlog domain suffix? plugin=demo this?
I small white one, first contact Typecho.
Ask the great God to answer, thank you very much!!
$this->user->screenName()
$this->user->mail()
;
- Increase the page need to increase the route, can see I write this plugin: https://github.com/typecho-fans/plugins/blob/master/Update/Plugin.php#L23
Since it is small white to look at what others write, especially the first official theme can find how to use it well ...