0.9.3版本

支持自定义登录按钮调用方法
This commit is contained in:
wixy 2022-04-27 23:27:53 +08:00
parent ab0cf3ae50
commit a518a83e7b
2 changed files with 10 additions and 0 deletions

View File

@ -43,6 +43,7 @@ function custom_html() {
}
}
add_action('login_footer', 'custom_html');
add_action('wp_footer', 'custom_html');
//回调接口定义
add_action( 'rest_api_init', function () {

View File

@ -7,6 +7,15 @@
### 更新记录
#### 2022/04/27 v0.9.3
新增全局注入登录框调用方法openLogin()可自定义登录按钮调出微信扫码登录界面只需要在按钮添加onclick事件调用openLogin()方法就可以了
例如
```
<button onclick="openLogin();">微信登陆</button>
```
#### 2022/03/31 v0.9.2
1. 支持QuickAuth平台测试功能可测试插件是否安装成功