{"id":239619,"date":"2025-07-03T11:12:58","date_gmt":"2025-07-03T11:12:58","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/locky-blocky\/"},"modified":"2025-07-06T04:05:55","modified_gmt":"2025-07-06T04:05:55","slug":"locky-blocky","status":"publish","type":"plugin","link":"https:\/\/wol.wordpress.org\/plugins\/locky-blocky\/","author":14886140,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1.0.4","stable_tag":"1.0.4","tested":"6.8.5","requires":"6.8","requires_php":"7.4","requires_plugins":null,"header_name":"Locky Blocky","header_author":"Koji Kuno","header_description":"Easily toggle the block template lock (contentOnly) in the WordPress block editor toolbar.","assets_banners_color":"ffffff","last_updated":"2025-07-06 04:05:55","external_support_url":"","external_repository_url":"","donate_link":"https:\/\/www.amazon.jp\/hz\/wishlist\/ls\/WH93ZBVDA08I","header_plugin_uri":"","header_author_uri":"","rating":5,"author_block_rating":0,"active_installs":0,"downloads":497,"num_ratings":1,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation"],"tags":{"1.0.1":{"tag":"1.0.1","author":"olein","date":"2025-07-03 23:20:35"},"1.0.2":{"tag":"1.0.2","author":"olein","date":"2025-07-04 05:47:46"},"1.0.3":{"tag":"1.0.3","author":"olein","date":"2025-07-06 04:03:08"},"1.0.4":{"tag":"1.0.4","author":"olein","date":"2025-07-06 04:05:55"}},"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":0,"5":1},"assets_icons":{"icon-128x128.jpg":{"filename":"icon-128x128.jpg","revision":3322050,"resolution":"128x128","location":"assets","locale":"","width":128,"height":128},"icon-256\u00d7256.jpg":{"filename":"icon-256\u00d7256.jpg","revision":3322050,"resolution":"256x256","location":"assets","locale":"","width":256,"height":256}},"assets_banners":{"banner-1554\u00d7500.jpg":{"filename":"banner-1554\u00d7500.jpg","revision":3322050,"resolution":"1554x500","location":"assets","locale":"","width":1554,"height":500},"banner-772\u00d7250.jpg":{"filename":"banner-772\u00d7250.jpg","revision":3322050,"resolution":"772x250","location":"assets","locale":"","width":772,"height":250}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0.1","1.0.2","1.0.3","1.0.4"],"block_files":[],"assets_screenshots":[],"screenshots":[]},"plugin_section":[],"plugin_tags":[1332],"plugin_category":[46],"plugin_contributors":[173109],"plugin_business_model":[],"class_list":["post-239619","plugin","type-plugin","status-publish","hentry","plugin_tags-editor","plugin_category-editor-and-writing","plugin_contributors-olein","plugin_committers-olein"],"banners":{"banner":"https:\/\/ps.w.org\/locky-blocky\/assets\/banner-772\u00d7250.jpg?rev=3322050","banner_2x":false,"banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/locky-blocky\/assets\/icon-128x128.jpg?rev=3322050","icon_2x":"https:\/\/ps.w.org\/locky-blocky\/assets\/icon-256\u00d7256.jpg?rev=3322050","generated":false},"screenshots":[],"raw_content":"<!--section=description-->\n<p>A plugin that lets administrators easily toggle the block template lock (contentOnly) from the WordPress block editor toolbar. Take flexible control over your editing experience. (Available to administrators only. The menu is not displayed for users with editor or lower capabilities.)<\/p>\n\n<h3>How to use hook<\/h3>\n\n<p><strong>locky_blocky_required_capability<\/strong> hook allows you to change the permissions to display the lock menu provided by this plugin.<\/p>\n\n<pre><code>add_filter( 'locky_blocky_required_capability', function( $default ) {\n    return 'edit_others_posts'; \/\/ Editor privileges and above\n});\n<\/code><\/pre>\n\n<p>It can also be made available only to specific user IDs.<\/p>\n\n<pre><code>add_filter( 'locky_blocky_required_capability', function( $default ) {\n    if ( get_current_user_id() === 123 ) {\n        return 'read'; \/\/ Available for User ID 123 only\n    }\n    return 'do_not_allow'; \/\/ Otherwise, not allowed.\n});\n<\/code><\/pre>\n\n<h3>Important Notice<\/h3>\n\n<p>This plugin provides a feature to toggle the <code>templateLock<\/code> (<code>contentOnly<\/code>) directly from the block toolbar. If WordPress Core implements a similar feature in the future, this plugin will be deprecated and no longer maintained.<\/p>\n\n<p>Thank you for your understanding.<\/p>\n\n<h3>Github Repository<\/h3>\n\n<p>https:\/\/github.com\/Olein-jp\/locky-blocky<\/p>\n\n<!--section=installation-->\n<p>This plugin can be installed directly from your WordPress dashboard.<\/p>\n\n<ol>\n<li>Log in and navigate to <strong>Plugins \u2192 Add New<\/strong>.<\/li>\n<li>Type \u201cLocky Blocky\u201d into the search and press Enter.<\/li>\n<li>Locate the <strong>Locky Blocky<\/strong> plugin in the list of search results and click <strong>Install Now<\/strong>.<\/li>\n<li>Once installed, click the <strong>Activate<\/strong> link.<\/li>\n<\/ol>","raw_excerpt":"Easily toggle the block template lock (contentOnly) in the WordPress block editor toolbar.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wol.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/239619","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wol.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/wol.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/wol.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=239619"}],"author":[{"embeddable":true,"href":"https:\/\/wol.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/olein"}],"wp:attachment":[{"href":"https:\/\/wol.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=239619"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wol.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=239619"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wol.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=239619"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wol.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=239619"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wol.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=239619"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wol.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=239619"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}