{"id":168971,"date":"2023-11-20T13:48:09","date_gmt":"2023-11-20T13:48:09","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/sesamy\/"},"modified":"2025-02-07T09:43:00","modified_gmt":"2025-02-07T09:43:00","slug":"sesamy","status":"publish","type":"plugin","link":"https:\/\/bal.wordpress.org\/plugins\/sesamy\/","author":20737136,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"3.0.11","stable_tag":"3.0.11","tested":"6.7.5","requires":"5.0.1","requires_php":"7.4","requires_plugins":null,"header_name":"Sesamy","header_author":"Sesamy AB","header_description":"Add paywall functionality with Sesamy (sesamy.com) to your WordPress website.","assets_banners_color":"2f2238","last_updated":"2025-02-07 09:43:00","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"https:\/\/sesamy.com","header_author_uri":"https:\/\/sesamy.com","rating":0,"author_block_rating":0,"active_installs":10,"downloads":2578,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"1.0.10":{"tag":"1.0.10","author":"markussesamy","date":"2024-04-16 09:08:37"},"1.0.5":{"tag":"1.0.5","author":"markussesamy","date":"2023-11-25 10:49:24"},"1.0.6":{"tag":"1.0.6","author":"markussesamy","date":"2023-12-19 10:57:43"},"1.0.7":{"tag":"1.0.7","author":"markussesamy","date":"2024-02-05 12:35:37"},"1.0.8":{"tag":"1.0.8","author":"markussesamy","date":"2024-03-08 11:23:07"},"1.0.9":{"tag":"1.0.9","author":"markussesamy","date":"2024-04-03 10:48:38"},"2.0":{"tag":"2.0","author":"markussesamy","date":"2024-04-15 11:40:32"},"2.0.1":{"tag":"2.0.1","author":"markussesamy","date":"2024-04-19 12:20:50"},"2.0.4":{"tag":"2.0.4","author":"markussesamy","date":"2024-04-25 22:39:26"},"2.0.5":{"tag":"2.0.5","author":"markussesamy","date":"2024-04-25 22:54:52"},"2.0.6":{"tag":"2.0.6","author":"markussesamy","date":"2024-04-29 12:37:02"},"2.0.7":{"tag":"2.0.7","author":"markussesamy","date":"2024-04-30 07:15:21"},"2.1.0":{"tag":"2.1.0","author":"markussesamy","date":"2024-05-31 08:33:20"},"2.1.1":{"tag":"2.1.1","author":"markussesamy","date":"2024-05-31 11:00:25"},"2.2.2":{"tag":"2.2.2","author":"markussesamy","date":"2024-06-05 13:57:21"},"2.3.0":{"tag":"2.3.0","author":"markussesamy","date":"2024-06-10 08:13:35"},"2.3.1":{"tag":"2.3.1","author":"markussesamy","date":"2024-06-10 21:55:51"},"2.3.2":{"tag":"2.3.2","author":"markussesamy","date":"2024-06-10 22:07:56"},"3.0.0":{"tag":"3.0.0","author":"markussesamy","date":"2024-10-18 12:31:53"},"3.0.1":{"tag":"3.0.1","author":"markussesamy","date":"2024-11-05 08:32:37"},"3.0.10":{"tag":"3.0.10","author":"markussesamy","date":"2025-02-06 18:47:20"},"3.0.11":{"tag":"3.0.11","author":"markussesamy","date":"2025-02-07 09:43:00"},"3.0.4":{"tag":"3.0.4","author":"markussesamy","date":"2025-02-04 10:51:36"},"3.0.5":{"tag":"3.0.5","author":"markussesamy","date":"2025-02-04 13:41:04"},"3.0.8":{"tag":"3.0.8","author":"markussesamy","date":"2025-02-06 16:33:27"}},"upgrade_notice":[],"ratings":[],"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":3000965,"resolution":"128x128","location":"assets","locale":""},"icon-256x256.png":{"filename":"icon-256x256.png","revision":3000965,"resolution":"256x256","location":"assets","locale":""}},"assets_banners":{"banner-1544x500.png":{"filename":"banner-1544x500.png","revision":3000965,"resolution":"1544x500","location":"assets","locale":""},"banner-772x250.png":{"filename":"banner-772x250.png","revision":3000965,"resolution":"772x250","location":"assets","locale":""}},"assets_blueprints":{},"all_blocks":{"sesamy-post-editor\/sesamy-post-editor":{"$schema":"https:\/\/schemas.wp.org\/trunk\/block.json","apiVersion":2,"name":"sesamy-post-editor\/sesamy-post-editor","version":"0.1.0","title":"Sesamy","category":"text","icon":"lock","description":"Options for Sesamy","supports":{"html":false},"textdomain":"sesamy-post-editor","editorScript":"file:.\/index.js","editorStyle":"file:.\/index.css","style":"file:.\/style-index.css"}},"tagged_versions":["1.0.10","1.0.5","1.0.6","1.0.7","1.0.8","1.0.9","2.0","2.0.1","2.0.4","2.0.5","2.0.6","2.0.7","2.1.0","2.1.1","2.2.2","2.3.0","2.3.1","2.3.2","3.0.0","3.0.1","3.0.10","3.0.11","3.0.4","3.0.5","3.0.8"],"block_files":[],"assets_screenshots":[],"screenshots":[],"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[12688,222979],"plugin_category":[],"plugin_contributors":[222981],"plugin_business_model":[],"class_list":["post-168971","plugin","type-plugin","status-publish","hentry","plugin_tags-paywall","plugin_tags-sesamy","plugin_contributors-markussesamy","plugin_committers-markussesamy"],"banners":{"banner":"https:\/\/ps.w.org\/sesamy\/assets\/banner-772x250.png?rev=3000965","banner_2x":"https:\/\/ps.w.org\/sesamy\/assets\/banner-1544x500.png?rev=3000965","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/sesamy\/assets\/icon-128x128.png?rev=3000965","icon_2x":"https:\/\/ps.w.org\/sesamy\/assets\/icon-256x256.png?rev=3000965","generated":false},"screenshots":[],"raw_content":"<!--section=description-->\n<p>The Sesamy plugin adds paywall functionality for posts and custom post types using Sesamy to your WordPress website without having to write code to integrate yourself.<\/p>\n\n<p>Features:<\/p>\n\n<ul>\n<li>Configure which post types plugin should enable the paywall<\/li>\n<li>Ability to turn the paywall on\/off per post<\/li>\n<li>Access levels to posts based on both single-purchase and Sesamy passes.<\/li>\n<li>Set a custom price and\/or pass per article<\/li>\n<li>Ability to configure protection level based on how secure your content is<\/li>\n<li>Ability to bulk edit paywall settings when bulk editing posts in WordPress Admin<\/li>\n<\/ul>\n\n<p>Please note that using this plugin requires an account with Sesamy (sesamy.com).<\/p>\n\n<h3>Filters<\/h3>\n\n<p>The following filters can be used to modify the default output from the plugin:<\/p>\n\n<pre><code>add_filter( 'sesamy_content', 'my_sesamy_content', 10, 2);\nfunction my_sesamy_content( $post, $content ) {\n    return $content;\n}\n\nadd_filter( 'sesamy_content_container', 'my_sesamy_content_container', 10, 1);\nfunction ( $content_container ){\n    return $content_container;\n}\n\nadd_filter( 'sesamy_paywall_seo', 'my_paywall_seo_callback', 10, 2);\nfunction my_paywall_seo_callback( $default_seo, $post ) {\n    return $default_seo;\n}\n\n\/\/ The preview in the paywall\nadd_filter( 'sesamy_paywall_preview', 'my_sesamy_paywall_preview', 10, 1);\nfunction my_sesamy_paywall_preview( $default_preview ) {\n    return $default_preview;\n}\n<\/code><\/pre>\n\n<!--section=installation-->\n<p>This section describes how to install the plugin;<\/p>\n\n<ol>\n<li>First log in to your website admin panel.<\/li>\n<li>Then go to Plugins page Add New &gt; Upload Plugin.<\/li>\n<li>Click \u201cChoose file\u201d then select our plugin .zip file.<\/li>\n<li>Install and activate the plugin.<\/li>\n<li>Add your client_id from the \"Sesamy\" menu option with a account that has at least <code>manage_options<\/code> permissions and configure your preferences<\/li>\n<\/ol>\n\n<p>Requirements:<\/p>\n\n<ul>\n<li>You must have pretty permalinks active for the plugin to work<\/li>\n<\/ul>\n\n<!--section=faq-->\n<dl>\n<dt id='how%20do%20i%20edit%20passes%3F'><h3>How do I edit passes?<\/h3><\/dt>\n<dd><p>Under each post type with the paywall functionality enabled users with <code>manage_options<\/code> capability can add, edit and remove passes.<\/p><\/dd>\n<dt id='are%20there%20any%20filters%20or%20actions%20to%20modify%20functioanlity%3F'><h3>Are there any filters or actions to modify functioanlity?<\/h3><\/dt>\n<dd><p>In the main loop the wrapping of sesamy container is hooked into two filters, <code>the_content<\/code> and <code>sesamy_content<\/code>.<\/p>\n\n<p>You can apply the sesamy_content to custom templates, shortcodes and others like this:<\/p>\n\n<pre><code>apply_filters( 'sesamy_content', $post, $content );\n<\/code><\/pre>\n\n<p>To modify the data before returned you can add a filter. The default priority for the built in main content is 999.<\/p>\n\n<pre><code>add_filter( 'sesamy_content', 'my_callback', 10, 2 );\n\nfunction my_callback( $post, $content) {\n    \/\/ Filter content here\n}\n<\/code><\/pre><\/dd>\n<dt id='how%20do%20i%20customize%20the%20paywall%20design%3F'><h3>How do I customize the paywall design?<\/h3><\/dt>\n<dd><p>You can customize how the paywall will be rendered by supplying your own template in code using the filter <code>sesamy_paywall<\/code> like this:<\/p>\n\n<pre><code>    add_filter('sesamy_paywall', 'show_paywall', 11, 3);\n    function show_paywall( $default_paywall, $post, $post_settings){\n        \/\/ Code for your custom layout. Please see link below for a complete example on how to create a custom design\n    }`\n<\/code><\/pre>\n\n<p>For a more complete example, please see the folder \"demo\" in our source code repository at https:\/\/github.com\/sesamyab\/wordpress-sesamy<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>3.0.11<\/h4>\n\n<ul>\n<li>Always hide the paywall if the user has access to the content.<\/li>\n<\/ul>\n\n<h4>3.0.10<\/h4>\n\n<ul>\n<li>Downgrade wordpress\/scripts to support older WP versions.<\/li>\n<\/ul>\n\n<h4>3.0.8<\/h4>\n\n<ul>\n<li>Remove not needed react dependencies<\/li>\n<\/ul>\n\n<h4>3.0.5<\/h4>\n\n<ul>\n<li>Remove in_the_loop check when applying content filter.<\/li>\n<\/ul>\n\n<h4>3.0.0<\/h4>\n\n<ul>\n<li>Use the paywall wizard config from the portal.<\/li>\n<\/ul>\n\n<h4>2.3.2<\/h4>\n\n<ul>\n<li>Fix json encode function.<\/li>\n<\/ul>\n\n<h4>2.3.1<\/h4>\n\n<ul>\n<li>Sanitize description of the paywall wizard.<\/li>\n<li>Add border to the paywall wizard.<\/li>\n<\/ul>\n\n<h4>2.3.0<\/h4>\n\n<ul>\n<li>Default paywall wizard values (override post values switch).<\/li>\n<\/ul>\n\n<h4>2.2.2<\/h4>\n\n<ul>\n<li>Enable\/disable paywall wizard by default in the global settings.<\/li>\n<li>GBP currency support.<\/li>\n<li>Fix the single purchase description in the paywall wizard.<\/li>\n<li>Fix the paywall wizard width in the second stpe.<\/li>\n<\/ul>\n\n<h4>2.1.1<\/h4>\n\n<ul>\n<li>Show login button default to true.<\/li>\n<\/ul>\n\n<h4>2.1.0<\/h4>\n\n<ul>\n<li>Enable\/disable paywall wizard in the edit post screen.<\/li>\n<li>Show\/Hide login button in the edit post screen.<\/li>\n<\/ul>\n\n<h4>2.0.7<\/h4>\n\n<ul>\n<li>Fix to always display the content for \"None\" lock mode<\/li>\n<\/ul>\n\n<h4>2.0.6<\/h4>\n\n<ul>\n<li>Fix to display the content if \"Locked Content\" is false for \"Event\" and \"Signed URL\" lock modes<\/li>\n<\/ul>\n\n<h4>2.0.5<\/h4>\n\n<ul>\n<li>Fix a duplicated preview in unlocked content with \"Embed\" lock mode<\/li>\n<\/ul>\n\n<h4>2.0.4<\/h4>\n\n<ul>\n<li>Fix to display the content in \"Public\" access level for \"Event\" and \"Signed URL\" lock modes<\/li>\n<li>Fix to hide the paywall if the content is public<\/li>\n<\/ul>\n\n<h4>2.0.1<\/h4>\n\n<ul>\n<li>Fixed show content if signed url not locked<\/li>\n<\/ul>\n\n<h4>2.0<\/h4>\n\n<ul>\n<li>Removed unnecessary scripts and tags<\/li>\n<\/ul>\n\n<h4>1.0.9<\/h4>\n\n<ul>\n<li>Fixed Sesamy Attribute count issue<\/li>\n<\/ul>\n\n<h4>1.0.8<\/h4>\n\n<ul>\n<li>Added sesamy attribute support<\/li>\n<\/ul>\n\n<h4>1.0.7<\/h4>\n\n<ul>\n<li>Fixed API endpoint issue<\/li>\n<li>Fixed wp_kses_post issue<\/li>\n<\/ul>\n\n<h4>1.0.6<\/h4>\n\n<ul>\n<li>Added classic editor support <\/li>\n<li>Added Access level option in post<\/li>\n<li>Added additional article meta data<\/li>\n<li>Removed currency from post and added global currency in general settings<\/li>\n<\/ul>\n\n<h4>1.0.5<\/h4>\n\n<ul>\n<li>Added admin columns for easy overview of paywall settings<\/li>\n<li>Added support for bulk editing paywall settings through WordPress bulk edit<\/li>\n<li>Moved settings for endpoint from settings to check if constant SESAMY_DEV_API is set and true<\/li>\n<\/ul>\n\n<h4>1.0.4<\/h4>\n\n<ul>\n<li>Adjusted code formatting and added output escaping<\/li>\n<\/ul>\n\n<h4>1.0.3<\/h4>\n\n<ul>\n<li>Sanitized output for security<\/li>\n<\/ul>\n\n<h4>1.0.2<\/h4>\n\n<ul>\n<li>Adjustments and bugfixes for security<\/li>\n<\/ul>\n\n<h4>1.0.1<\/h4>\n\n<ul>\n<li>Adjustments and bugfixes<\/li>\n<\/ul>\n\n<h4>1.0.0<\/h4>\n\n<ul>\n<li>This is the first release of the plugin.<\/li>\n<\/ul>","raw_excerpt":"Add paywall functionality with Sesamy (sesamy.com) to your WordPress website.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/bal.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/168971","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/bal.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/bal.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/bal.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=168971"}],"author":[{"embeddable":true,"href":"https:\/\/bal.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/markussesamy"}],"wp:attachment":[{"href":"https:\/\/bal.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=168971"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/bal.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=168971"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/bal.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=168971"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/bal.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=168971"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/bal.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=168971"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/bal.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=168971"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}