{"id":397394,"date":"2026-11-07T03:25:02","date_gmt":"2026-11-07T03:25:02","guid":{"rendered":"https:\/\/en-au.wordpress.org\/plugins\/gator-gate-pre-for-bbpress\/"},"modified":"2026-11-07T04:55:19","modified_gmt":"2026-11-07T04:55:19","slug":"gator-gate-pre","status":"publish","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/gator-gate-pre\/","author":23590885,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1.0.0","stable_tag":"1.0.0","tested":"7.1.4","requires":"5.8","requires_php":"7.4","requires_plugins":null,"header_name":"Gator Gate Pre","header_author":"Tin Who","header_description":"Simple, robust preformatted code block support for the bbPress visual editor. Per-forum checkboxes control the visual editor and Code tab. Other plugins can hide or force the Pre button with the gator_gate_pre_show_pre_button filter (optionally targeting a specific forum ID).","assets_banners_color":"","last_updated":"2026-11-07 04:55:19","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"https:\/\/tinfoilwho.com\/signal\/forum\/gator-gate-plugins\/","header_author_uri":"","rating":0,"author_block_rating":0,"active_installs":0,"downloads":69,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description"],"tags":{"1.0.0":{"tag":"1.0.0","author":"tinwho","date":"2026-11-07 04:55:19","revision":3789003}},"upgrade_notice":[],"ratings":[],"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0.0"],"block_files":[],"assets_screenshots":{"screenshot-1.jpg":{"filename":"screenshot-1.jpg","revision":3788966,"resolution":"1","location":"assets","locale":"","width":194,"height":400}},"screenshots":{"1":"Enable Visual Editor"}},"plugin_section":[],"plugin_tags":[2770,1214,11272,1719,2796],"plugin_category":[44,46],"plugin_contributors":[291278],"plugin_business_model":[],"class_list":["post-397394","plugin","type-plugin","status-publish","hentry","plugin_tags-bbpress","plugin_tags-code","plugin_tags-pre","plugin_tags-tinymce","plugin_tags-visual-editor","plugin_category-discussion-and-community","plugin_category-editor-and-writing","plugin_contributors-tinwho","plugin_committers-tinwho"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/gator-gate-pre.svg","icon_2x":false,"generated":true},"screenshots":[{"src":"https:\/\/ps.w.org\/gator-gate-pre\/assets\/screenshot-1.jpg?rev=3788966","caption":"Enable Visual Editor"}],"raw_content":"<!--section=description-->\n<p>Gator Gate Pre for bbPress adds reliable Visual Editor <code>&lt;pre&gt;<\/code> support to front-end bbPress topic and reply forms on a per-forum basis.<\/p>\n\n<p>On each forum\u2019s edit screen (Attributes metabox) you will find three checkboxes:<\/p>\n\n<ul>\n<li><strong>Enable Visual Editor<\/strong> \u2014 forces the visual editor on topic and reply forms for that forum.<\/li>\n<li><strong>Hide the Code tab<\/strong> \u2014 available only when the visual editor is enabled (UI convenience only).<\/li>\n<li><strong>Change line spacing<\/strong> \u2014 available only when the visual editor is enabled. Applies tighter line-height and paragraph\/heading margins in the visual editor and on the front end of saved posts.<\/li>\n<\/ul>\n\n<p>The Pre button and paste panel appear by default whenever the visual editor is enabled.<\/p>\n\n<p><strong>Other plugins (or a theme\u2019s functions.php file) can control the Pre button<\/strong> with the <code>gg_pre_show_pre_button<\/code> filter:<\/p>\n\n<p>\/\/ Hide the Pre button everywhere\n  add_filter( 'gator_gate_pre_show_pre_button', '__return_false' );<\/p>\n\n<p>\/\/ Force the Pre button on everywhere\n  add_filter( 'gator_gate_pre_show_pre_button', '__return_true' );<\/p>\n\n<p>\/\/ Target a specific forum ID\n  add_filter( 'gator_gate_pre_show_pre_button', function( $show, $forum_id ) {\n      if ( 123 === (int) $forum_id ) {\n          return false; \/\/ hide on forum 123\n      }\n      return $show;\n  }, 10, 2 );<\/p>\n\n<h3>Project Info<\/h3>\n\n<p>100% free plugin under the GPL license.<\/p>","raw_excerpt":"Simple, robust preformatted code block support for the bbPress visual editor.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/397394","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=397394"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/tinwho"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=397394"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=397394"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=397394"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=397394"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=397394"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=397394"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}