[wordpress插件] Download Attachments by User Restrictions按用户限制下载附件

wordpress 插件 文章 2020-04-21 19:30 0 87 全屏看文
评分
0
描述

This extension will help you to show attachment with user restrictions.

此扩展名将帮助您显示受用户限制的附件。

You can add user types and assign your document to them.

您可以添加用户类型并为其分配文档。

How to Use

使用方法

    • Use this shortcode in editor [attachment id=“1”]
    • 在编辑器[attachment id =“ 1”]中使用此短代码

    • Use this code in php

    • 在php中使用此代码 <?php echo do_shortcode('[attachment id =“ 1”]');

      ?>

    • ?>

安装步骤

This section describes how to install the plugin and get it working.

本节介绍如何安装插件并使其正常工作。

e.g.

例如

    1. Upload the plugin files to the /wp-content/plugins/attachment directory, or install the plugin through the WordPress plugins screen directly.
    2. 将插件文件上传到 / wp-content / plugins / attachment 目录,或直接通过WordPress插件屏幕安装插件。

    3. Activate the plugin through the \’Plugins\’ screen in WordPress
    4. 通过WordPress的“插件”屏幕激活插件

下载地址
https://downloads.wordpress.org/plugin/download-restriction.zip
-EOF-