[wordpress插件] Block Permissions阻止权限

wordpress 插件 文章 2020-03-06 16:20 455 0 全屏看文

AI助手支持GPT4.0

评分
100
描述

Full Documentation

完整文档

How To Use

使用方法

    • Activate ‘Block Permissions’ plugin.
    • 激活“阻止权限”插件。

    • Edit any page with Gutenberg editor.
    • 使用Gutenberg编辑器编辑任何页面。

    • If Block Permission is chosen for ‘Show’, the block content will be shown if the settings are validated.

    • 如果为“显示”选择了“阻止权限”,则在验证设置后会显示阻止内容。

      Otherwise block content will be hidden.

    • 否则,块内容将被隐藏。

    Show

    显示

      • If ‘Everyone’ is selected as the permission, the block content will be shown for everyone.

        如果选择“所有人”作为权限,则将向所有人显示阻止内容。

      • If ‘Members’ is selected as the permission, the block content will be shown for the logged in users.

        如果选择“成员”作为权限,则将为登录用户显示阻止内容。

      • If ‘Members with Selected User Roles’ is selected as the permission, the block content will be shown only for the members with specified user roles.

        如果选择“具有选定用户角色的成员”作为权限,则阻止内容将仅针对具有指定用户角色的成员显示。

      • If ‘Selected Users’ is selected as the permission, the block content will be shown only to the specified users.

        如果选择“选定的用户”作为权限,则阻止内容将仅显示给指定的用户。

      • If ‘Selected Devices’ is selected as the permission, the block content will be shown for the specified devices, such as Desktops, Phones and/or Tablets.

        如果选择了“所选设备”作为权限,则将显示指定设备(例如台式机,电话和/或平板电脑)的阻止内容。

      • If ‘Date Range’ is selected as the permission, the block content will be shown between the specified dates.

        如果选择“日期范围”作为权限,则阻止内容将在指定日期之间显示。

      • If ‘Time Range’ is selected as the permission, the block content will be shown between the specified times.

        如果选择“时间范围”作为权限,则块内容将在指定时间之间显示。

      • If ‘Day Of Week’ is selected as the permission, the block content will be shown on the specified days.

        如果选择“星期几”作为权限,则阻止内容将在指定的日期显示。

      • If ‘PHP Function’ is selected as the permission, the block content will be shown according to the return value of the specified PHP function.

        如果选择“ PHP函数”作为权限,则将根据指定PHP函数的返回值显示块内容。

      Hide

      隐藏

        • If ‘Everyone’ is selected as the permission, the block content will be hidden from everyone.

          如果选择“所有人”作为权限,则阻止内容对所有人隐藏。

        • If ‘Members’ is selected as the permission, the block content will be hidden from the logged in users.

          如果选择“成员”作为权限,则阻止的内容将对已登录的用户隐藏。

        • If ‘Members with Selected User Roles’ is selected as the permission, the block content will be hidden from the members with specified user roles.

          如果选择“具有选定用户角色的成员”作为权限,则阻止内容将从具有指定用户角色的成员中隐藏。

        • If ‘Selected Users’ is selected as the permission, the block content will be hidden from the specified users.

          如果选择“选定用户”作为权限,则阻止内容将从指定用户中隐藏。

        • If ‘Selected Devices’ is selected as the permission, the block content will be hidden from the specified devices, such as Desktops, Phones and/or Tablets.

          如果选择“选定设备”作为权限,则阻止内容将从指定设备(例如台式机,电话和/或平板电脑)中隐藏。

        • If ‘Date Range’ is selected as the permission, the block content will be hidden between the specified dates.

          如果选择“日期范围”作为权限,则阻止内容将在指定日期之间隐藏。

        • If ‘Time Range’ is selected as the permission, the block content will be hidden between the specified times.

          如果选择“时间范围”作为权限,则块内容将在指定时间之间隐藏。

        • If ‘Day Of Week’ is selected as the permission, the block content will be hidden on the specified days.

          如果选择“星期几”作为权限,则屏蔽内容将在指定的日期被隐藏。

        • If ‘PHP Function’ is selected as the permission, the block content will be hidden according to the return value of the specified PHP function.

          如果选择“ PHP函数”作为权限,则根据指定PHP函数的返回值隐藏块内容。

下载地址
https://downloads.wordpress.org/plugin/block-permissions.1.0.6.zip
-EOF-

AI助手支持GPT4.0