跳到内容

Check External Login

v1.0

theurtin · 2022年4月29日 上架

Allow to check if user is logged in another website with JSONP

正在使用
10 以下
评分
暂无
累计下载
1,027
最近更新
2023年3月17日
需要 WordPress 5.0+已测试到 6.1.17PHP 7.4+

贡献者

Allow to check if user is logged in another website with JSONP.

You can edit url to call in admin settings page.

Plugin add automatically all javascript needed to check if user is connected on the defined url.

Url must return a JSON like this :

{
   "connected":false,
   "link":
   {
      "linkName": "myLink"
   },
   "text":
   {
      "textName": "myText"
   },
}

Plugins will automatically do following actions on element depending on their html class :
– class js-cel-not-connected : will be hide if connected is true
– class js-cel-connected : will be hide if connected is false
– class js-cel-text-[textName] : element content will be replace with text in JSON
– class js-cel-link-[linkName] : element href will be replace with link in JSON

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums