{"id":256098,"date":"2025-10-19T17:20:57","date_gmt":"2025-10-19T17:20:57","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/unlock-to-view\/"},"modified":"2026-04-01T01:17:29","modified_gmt":"2026-04-01T01:17:29","slug":"unlock-to-view","status":"publish","type":"plugin","link":"https:\/\/azb.wordpress.org\/plugins\/unlock-to-view\/","author":21150724,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.2.4","stable_tag":"1.2.4","tested":"6.9.4","requires":"5.0","requires_php":"7.4","requires_plugins":null,"header_name":"Unlock-To-View","header_author":"Lise Rasmussen","header_description":"Unlock videos and other digital content with email codes, log activity, and track invoices.","assets_banners_color":"30313f","last_updated":"2026-04-01 01:17:29","external_support_url":"","external_repository_url":"","donate_link":"https:\/\/www.paypal.com\/donate\/?hosted_button_id=4SMV5H3BFFJKQ","header_plugin_uri":"","header_author_uri":"https:\/\/liserasmussen.se\/unlock-to-view\/index.html","rating":0,"author_block_rating":0,"active_installs":0,"downloads":288,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"1.0.0":{"tag":"1.0.0","author":"zzraz","date":"2025-10-19 17:22:08"},"1.0.1":{"tag":"1.0.1","author":"zzraz","date":"2026-03-31 18:39:11"},"1.2":{"tag":"1.2","author":"zzraz","date":"2026-03-31 19:37:53"},"1.2.1":{"tag":"1.2.1","author":"zzraz","date":"2026-03-31 21:42:08"},"1.2.2":{"tag":"1.2.2","author":"zzraz","date":"2026-03-31 21:49:32"},"1.2.3":{"tag":"1.2.3","author":"zzraz","date":"2026-03-31 21:54:30"},"1.2.4":{"tag":"1.2.4","author":"zzraz","date":"2026-04-01 01:17:29"}},"upgrade_notice":{"1.2.3":"<p>Compatibility metadata update for WordPress 6.9.<\/p>","1.2.2":"<p>Minor admin UI update with improved menu labeling and page spacing.<\/p>","1.2.1":"<p>Minor UI update for improved admin button styling consistency.<\/p>","1.2":"<p>Recommended update with admin page improvements, documentation updates, banner refreshes, and important AJAX\/security fixes.<\/p>","1.0.1":"<p>Security and functionality update with AJAX fixes, export nonce verification, and refreshed documentation videos.<\/p>","1.0.0":"<p>Initial release of Unlock-To-View. No upgrade actions needed.<\/p>"},"ratings":[],"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":3380909,"resolution":"128x128","location":"assets","locale":""}},"assets_banners":{"banner-1544x500.png":{"filename":"banner-1544x500.png","revision":3496042,"resolution":"1544x500","location":"assets","locale":""},"banner-772x250.png":{"filename":"banner-772x250.png","revision":3496042,"resolution":"772x250","location":"assets","locale":""}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0.0","1.0.1","1.2","1.2.1","1.2.2","1.2.3","1.2.4"],"block_files":[],"assets_screenshots":{"Screenshot-1.png":{"filename":"Screenshot-1.png","revision":3380909,"resolution":"1","location":"assets","locale":""},"Screenshot-2.png":{"filename":"Screenshot-2.png","revision":3380909,"resolution":"2","location":"assets","locale":""},"Screenshot-3.png":{"filename":"Screenshot-3.png","revision":3380909,"resolution":"3","location":"assets","locale":""},"Screenshot-4.png":{"filename":"Screenshot-4.png","revision":3380909,"resolution":"4","location":"assets","locale":""},"Screenshot-5.png":{"filename":"Screenshot-5.png","revision":3380909,"resolution":"5","location":"assets","locale":""}},"screenshots":{"1":"Shortcode Generator interface.","2":"Rentals log with email reminders.","3":"Settings page for pricing and email templates."},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[249431,505,10115,249429,249430],"plugin_category":[45],"plugin_contributors":[245918],"plugin_business_model":[],"class_list":["post-256098","plugin","type-plugin","status-publish","hentry","plugin_tags-code-to-unlock","plugin_tags-monetize","plugin_tags-pay-per-view","plugin_tags-rent-video","plugin_tags-unlock-to-view","plugin_category-ecommerce","plugin_contributors-zzraz","plugin_committers-zzraz"],"banners":{"banner":"https:\/\/ps.w.org\/unlock-to-view\/assets\/banner-772x250.png?rev=3496042","banner_2x":"https:\/\/ps.w.org\/unlock-to-view\/assets\/banner-1544x500.png?rev=3496042","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/unlock-to-view\/assets\/icon-128x128.png?rev=3380909","icon_2x":false,"generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/unlock-to-view\/assets\/Screenshot-1.png?rev=3380909","caption":"Shortcode Generator interface."},{"src":"https:\/\/ps.w.org\/unlock-to-view\/assets\/Screenshot-2.png?rev=3380909","caption":"Rentals log with email reminders."},{"src":"https:\/\/ps.w.org\/unlock-to-view\/assets\/Screenshot-3.png?rev=3380909","caption":"Settings page for pricing and email templates."},{"src":"https:\/\/ps.w.org\/unlock-to-view\/assets\/Screenshot-4.png?rev=3380909","caption":""},{"src":"https:\/\/ps.w.org\/unlock-to-view\/assets\/Screenshot-5.png?rev=3380909","caption":""}],"raw_content":"<!--section=description-->\n<p>Unlock-To-View is a lightweight plugin for WordPress that lets you restrict access to videos using an unlock code. No registration needed, the viewer simply adds their email, gets a code and unlock. Pay afterwards (optional)! Support video players YouTube, Vimeo, Presto Player, or direct video URLs.<\/p>\n\n<h3>Demo<\/h3>\n\n<p>https:\/\/www.youtube.com\/watch?v=ccbgOlbsec8<\/p>\n\n<p>Watch on YouTube:<\/p>\n\n<p><a href=\"https:\/\/www.youtube.com\/watch?v=ccbgOlbsec8\">https:\/\/www.youtube.com\/watch?v=ccbgOlbsec8<\/a><\/p>\n\n<p><strong>Key Features:<\/strong>\n* Lock any video with a simple shortcode.\n* Fixed price and duration for all rentals\n* Supports multiple video players (YouTube, Vimeo, Presto Player, or direct URLs).\n* Easy-to-use shortcode generator in the admin panel.\n* All shortcodes are stored in a log\n* Full rental log with email, slug, media, expiration and IP.\n* Easily send email reminders for expired payments \n* A mark as paid button to show if a rental is paid.\n* CSV export of all shortcodes and rentals.\n* Customizable unlock button text.\n* No third party integration<\/p>\n\n<p><strong>Planned Features (coming soon in Pro version):<\/strong>\n* Full customization of the unlock\/rental button.\n* Fixed or individual price and duration for rentals\n* Support for additional video players.\n* Styling options directly in the admin panel.<\/p>\n\n<p><strong>How it works:<\/strong>\n1. Embed a video on any page or post.\n2. Use the Unlock-To-View shortcode\n3. Users unlock the video by adding their email address\n4. All rentals are logged using email, slug, expiry date and code<\/p>\n\n<h3>External services<\/h3>\n\n<p>This plugin may connect to the following external services:<\/p>\n\n<ol>\n<li><p><strong>Vimeo (player.vimeo.com)<\/strong><\/p>\n\n<ul>\n<li><strong>Purpose<\/strong>: To display embedded videos using Vimeo\u2019s video player.  <\/li>\n<li><strong>What is sent<\/strong>: When a video is displayed, the visitor\u2019s browser requests the video from Vimeo\u2019s servers. This includes the video ID and standard browser request information (such as IP address and user agent).  <\/li>\n<li><strong>When<\/strong>: Only when a page containing a Vimeo video shortcode is viewed.  <\/li>\n<li><strong>Terms of Service<\/strong>: https:\/\/vimeo.com\/terms  <\/li>\n<li><strong>Privacy Policy<\/strong>: https:\/\/vimeo.com\/privacy<\/li>\n<\/ul><\/li>\n<li><p><strong>liserasmussen.se<\/strong><\/p>\n\n<ul>\n<li><strong>Purpose<\/strong>: The plugin includes a link to the developer\u2019s website to provide documentation and help users build shortcodes. This is for informational purposes only.  <\/li>\n<li><strong>What is sent<\/strong>: No data is sent automatically. When a user clicks the link, it simply opens in their browser like a regular hyperlink.  <\/li>\n<li><strong>When<\/strong>: Only if the user manually clicks the link in the plugin interface.  <\/li>\n<li><strong>Terms of Service<\/strong>: https:\/\/liserasmussen.se\/unlock-to-view\/terms.html  <\/li>\n<li><strong>Privacy Policy<\/strong>: https:\/\/liserasmussen.se\/unlock-to-view\/privacy.html<\/li>\n<\/ul><\/li>\n<\/ol>\n\n<h3>License<\/h3>\n\n<p>This plugin is free software; you can redistribute it and\/or modify it under the terms of the GNU General Public License version 2 as published by the Free Software Foundation.<\/p>\n\n<!--section=installation-->\n<p>https:\/\/www.youtube.com\/watch?v=iV8xKcYXRq8<\/p>\n\n<p>Watch on YouTube:<\/p>\n\n<p><a href=\"https:\/\/www.youtube.com\/watch?v=iV8xKcYXRq8\">https:\/\/www.youtube.com\/watch?v=iV8xKcYXRq8<\/a><\/p>\n\n<ol>\n<li>Download the zip file<\/li>\n<li>Upload the zipped file from the Plugins menu in WordPress.<\/li>\n<li>Activate the plugin.<\/li>\n<li>Go to the Unlock-To-View settings page to configure pricing, emails, and rental options.<\/li>\n<li>Use the shortcode generator to create shortcodes for your videos.<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id=\"can%20i%20use%20any%20video%20player%3F\"><h3>Can I use any video player?<\/h3><\/dt>\n<dd><p>Not in the free version. You can choose between Presto Player, Vimeo, YouTube, or a direct video URL.<\/p><\/dd>\n<dt id=\"how%20do%20i%20set%20the%20rental%20duration%3F\"><h3>How do I set the rental duration?<\/h3><\/dt>\n<dd><p>Go to Settings \u2192 General Settings \u2192 Duration (hours) to set how long a rental lasts. In the free version there is one duration for all rentals. In the upcoming paid version you can set this individually per shortcode.<\/p><\/dd>\n<dt id=\"how%20do%20i%20set%20the%20rental%20price%3F\"><h3>How do I set the rental price?<\/h3><\/dt>\n<dd><p>Go to Settings \u2192 General Settings \u2192 Price to set the price for rentals. In the free version there is one price for all rentals. In the upcoming paid version you can set this individually per shortcode.<\/p><\/dd>\n<dt id=\"can%20i%20customize%20the%20unlock%20button%20text%3F\"><h3>Can I customize the unlock button text?<\/h3><\/dt>\n<dd><p>Yes. In Settings \u2192 General Settings \u2192 Button Label, you can customize the text users see.<\/p><\/dd>\n<dt id=\"can%20i%20export%20my%20rental%20log%3F\"><h3>Can I export my rental log?<\/h3><\/dt>\n<dd><p>Yes. Use the \u201cExport to CSV\u201d button on the admin page.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.2.4<\/h4>\n\n<ul>\n<li>Fixed the unlock flow so videos remain hidden until a valid code is entered, while still rendering supported players correctly after unlock.<\/li>\n<\/ul>\n\n<h4>1.2.3<\/h4>\n\n<ul>\n<li>Updated compatibility metadata to mark the plugin as tested with WordPress 6.9.<\/li>\n<\/ul>\n\n<h4>1.2.2<\/h4>\n\n<ul>\n<li>Updated the admin menu label to \u201cUpgrade to Pro \u2b50\u201d.<\/li>\n<li>Improved top spacing on plugin admin pages.<\/li>\n<\/ul>\n\n<h4>1.2.1<\/h4>\n\n<ul>\n<li>Updated the admin button styling so the Export to CSV button matches the green button theme.<\/li>\n<\/ul>\n\n<h4>1.2<\/h4>\n\n<ul>\n<li>Updated About page content.<\/li>\n<li>Added refreshed WordPress.org banner assets.<\/li>\n<li>Improved readme video formatting for WordPress.org plugin pages.<\/li>\n<li>Fixed frontend and admin AJAX nonce handling.<\/li>\n<li>Added missing capability checks and export nonce verification.<\/li>\n<\/ul>\n\n<h4>1.0.1<\/h4>\n\n<ul>\n<li>Fixed broken AJAX nonce handling on frontend and admin actions.<\/li>\n<li>Registered the existing-code AJAX endpoint for guests and logged-in users.<\/li>\n<li>Added missing capability checks to admin-only AJAX actions.<\/li>\n<li>Added nonce verification to CSV export.<\/li>\n<li>Updated the readme video sections with separate Demo and Installation tutorials.<\/li>\n<li>Switched readme video embeds to the WordPress.org-compatible bare URL format.<\/li>\n<\/ul>\n\n<h4>1.0.0<\/h4>\n\n<ul>\n<li>Initial release.<\/li>\n<li>Added support for multiple video players.<\/li>\n<li>Shortcode generator added.<\/li>\n<li>Rental log with email reminders.<\/li>\n<li>CSV export for rentals.<\/li>\n<li>Customizable unlock button text.<\/li>\n<\/ul>","raw_excerpt":"Unlock-To-View lets you lock videos using shortcodes. Perfect for monetizing and securing content.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/azb.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/256098","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/azb.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/azb.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/azb.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=256098"}],"author":[{"embeddable":true,"href":"https:\/\/azb.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/zzraz"}],"wp:attachment":[{"href":"https:\/\/azb.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=256098"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/azb.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=256098"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/azb.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=256098"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/azb.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=256098"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/azb.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=256098"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/azb.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=256098"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}