{"id":48992,"date":"2016-06-15T07:38:09","date_gmt":"2016-06-15T07:38:09","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/download-restriction\/"},"modified":"2016-09-19T15:06:39","modified_gmt":"2016-09-19T15:06:39","slug":"download-restriction","status":"publish","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/download-restriction\/","author":14975644,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1.7","stable_tag":"trunk","tested":"4.6.30","requires":"3.0.1","requires_php":"","requires_plugins":"","header_name":"Download Attachments by User Restrictions","header_author":"Aditya","header_description":"","assets_banners_color":"","last_updated":"2016-09-19 15:06:39","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"http:\/\/www.webroods.com","header_author_uri":"","rating":1,"author_block_rating":0,"active_installs":0,"downloads":1147,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation"],"tags":[],"upgrade_notice":[],"ratings":{"1":"1","2":0,"3":0,"4":0,"5":0},"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.3","1.4","1.5","1.6","1.7"],"block_files":[],"assets_screenshots":[],"screenshots":[]},"plugin_section":[],"plugin_tags":[1346,568,84],"plugin_category":[50],"plugin_contributors":[],"plugin_business_model":[],"class_list":["post-48992","plugin","type-plugin","status-publish","hentry","plugin_tags-attachments","plugin_tags-download","plugin_tags-media","plugin_category-media","plugin_committers-webroods"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/download-restriction.svg","icon_2x":false,"generated":true},"screenshots":[],"raw_content":"<!--section=description-->\n<p>This extension will help you to show attachment with user restrictions. You can add user types and assign your document to them.<\/p>\n <p><strong>How to Use<\/strong><\/p>\n <ul>\n<li>Use this shortcode in editor [attachment id=\u201c1\u201d]<\/li>\n<li>Use this code in php <code>&lt;?php echo do_shortcode(\u2018[attachment id=\u201c1\u201d]\u2019); ?&gt;<\/code><\/li>\n<\/ul>\n\n<!--section=installation-->\n<p>This section describes how to install the plugin and get it working.<\/p>\n <p>e.g.<\/p>\n <ol>\n<li>Upload the plugin files to the <code>\/wp-content\/plugins\/attachment<\/code> directory, or install the plugin through the WordPress plugins screen directly.<\/li>\n<li>Activate the plugin through the \\'Plugins\\' screen in WordPress<\/li>\n<\/ol>","raw_excerpt":"This extension will help you to show attachment with user restrictions.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/48992","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=48992"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/webroods"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=48992"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=48992"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=48992"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=48992"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=48992"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=48992"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}