[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"$fr1Km-ckAfHJ_Iqf34-5HcgBXY4ro9duE2dQTP_R2Swc":3},{"slug":4,"name":5,"version":6,"author":7,"author_profile":8,"description":9,"short_description":10,"active_installs":11,"downloaded":12,"rating":13,"num_ratings":14,"last_updated":15,"tested_up_to":16,"requires_at_least":17,"requires_php":18,"tags":19,"homepage":25,"download_link":26,"security_score":27,"vuln_count":28,"unpatched_count":28,"last_vuln_date":29,"fetched_at":30,"vulnerabilities":31,"developer":32,"crawl_stats":29,"alternatives":39,"analysis":151,"fingerprints":241},"widget-display-conditions","Widget Display Conditions","0.2.8","Maarten Menten","https:\u002F\u002Fprofiles.wordpress.org\u002Fmaartenm\u002F","\u003Cp>With an easy to use interface you can control on which website page you want a particular widget to be displayed.\u003Cbr \u002F>\nYou can use built-in conditions or create some of your own.\u003C\u002Fp>\n\u003Ch3>Built-in conditions\u003C\u002Fh3>\n\u003Cul>\n\u003Cli>post type\u003C\u002Fli>\n\u003Cli>post status\u003C\u002Fli>\n\u003Cli>post template\u003C\u002Fli>\n\u003Cli>post category\u003C\u002Fli>\n\u003Cli>post format\u003C\u002Fli>\n\u003Cli>post tag\u003C\u002Fli>\n\u003Cli>post taxonomy\u003C\u002Fli>\n\u003Cli>post\u003C\u002Fli>\n\u003Cli>page type (front page, posts page, search page, 404 page, date page, author page, top level page, parent page, child page)\u003C\u002Fli>\n\u003Cli>page parent\u003C\u002Fli>\n\u003Cli>page template\u003C\u002Fli>\n\u003Cli>page\u003C\u002Fli>\n\u003Cli>attachment\u003C\u002Fli>\n\u003Cli>post type archive\u003C\u002Fli>\n\u003Cli>taxonomy archive\u003C\u002Fli>\n\u003Cli>author archive\u003C\u002Fli>\n\u003Cli>user role\u003C\u002Fli>\n\u003Cli>user logged in \u003C\u002Fli>\n\u003Cli>user\u003C\u002Fli>\n\u003C\u002Ful>\n","Manages widget display by conditions.",300,34001,96,5,"2021-04-22T14:47:00.000Z","5.7.15","4.0.0","5.6.27",[20,21,22,23,24],"conditions","display","rules","sidebar","widget","https:\u002F\u002Fwordpress.org\u002Fplugins\u002Fwidget-display-conditions\u002F","https:\u002F\u002Fdownloads.wordpress.org\u002Fplugin\u002Fwidget-display-conditions.0.2.8.zip",85,0,null,"2026-03-15T15:16:48.613Z",[],{"slug":33,"display_name":7,"profile_url":8,"plugin_count":34,"total_installs":35,"avg_security_score":27,"avg_patch_time_days":36,"trust_score":37,"computed_at":38},"maartenm",3,800,30,84,"2026-04-04T13:58:40.306Z",[40,64,87,109,129],{"slug":41,"name":42,"version":43,"author":44,"author_profile":45,"description":46,"short_description":47,"active_installs":48,"downloaded":49,"rating":50,"num_ratings":51,"last_updated":52,"tested_up_to":53,"requires_at_least":54,"requires_php":55,"tags":56,"homepage":60,"download_link":61,"security_score":62,"vuln_count":34,"unpatched_count":28,"last_vuln_date":63,"fetched_at":30},"custom-sidebars","Custom Sidebars – Dynamic Sidebar Classic Widget Area Manager","3.38","WebFactory","https:\u002F\u002Fprofiles.wordpress.org\u002Fwebfactory\u002F","\u003Cp>\u003Cstrong>Manage and replace sidebars and other classic widget areas on your site with Custom Sidebars, a flexible widget area manager.\u003C\u002Fstrong>\u003C\u002Fp>\n\u003Cp>Make custom sidebar configurations and be able to choose what classic widgets display on each page or post of your site.\u003C\u002Fp>\n\u003Cul>\n\u003Cli>Need to make a \u003Cstrong>widget sticky\u003C\u002Fstrong> or fixed? Try our free \u003Ca href=\"https:\u002F\u002Fwordpress.org\u002Fplugins\u002Fsticky-menu-or-anything-on-scroll\u002F\" rel=\"ugc\">WP Sticky Anything\u003C\u002Fa> plugin.\u003C\u002Fli>\n\u003C\u002Ful>\n\u003Cp>Custom Sidebars works ONLY with the classic widgets screen that was used in WordPress before version 5.8. If you want to use it with version 5.8 (and above) you have to install the official \u003Ca href=\"https:\u002F\u002Fwordpress.org\u002Fplugins\u002Fclassic-widgets\u002F\" rel=\"ugc\">Classic Widgets\u003C\u002Fa> plugin, or enable the classic widgets interface yourself. Once the classic widgets screen is activated the plugin will work the same as before.\u003C\u002Fp>\n\u003Cul>\n\u003Cli>Having problems setting up SSL or generating an SSL certificate? Install the free \u003Ca href=\"https:\u002F\u002Fwordpress.org\u002Fplugins\u002Fwp-force-ssl\u002F\" rel=\"ugc\">WP Force SSL\u003C\u002Fa> plugin.\u003C\u002Fli>\n\u003C\u002Ful>\n\u003Ch4>Display Different Sidebars on Pages and Posts\u003C\u002Fh4>\n\u003Cp>Custom Sidebars allows you to dynamically display custom widget configurations on any page, post, category, post type, or archive page.\u003C\u002Fp>\n\u003Cp>★★★★★\u003C\u002Fp>\n\u003Cblockquote>\n\u003Cp>“Custom Sidebars will go on my “essential plugins” list from now on. I am pleased by how easy it was to figure out and by how many options are available in the free version.” – \u003Ca href=\"https:\u002F\u002Fprofiles.wordpress.org\u002Fmonkeyhateclean\" rel=\"nofollow ugc\">monkeyhateclean\u003C\u002Fa>\u003C\u002Fp>\n\u003C\u002Fblockquote>\n\u003Cp>★★★★★\u003C\u002Fp>\n\u003Cblockquote>\n\u003Cp>“This plugin does exactly what it says. It’s light, integrates well into WordPress and gives you tons of possibilities.” – \u003Ca href=\"https:\u002F\u002Fprofiles.wordpress.org\u002Fdarknova11\" rel=\"nofollow ugc\">DarkNova\u003C\u002Fa>\u003C\u002Fp>\n\u003C\u002Fblockquote>\n\u003Cp>Every part of Custom Sidebars integrates seamlessly with the Widgets menu for simplicity and control. No confusing settings pages or added menu items, just simple core integration.\u003C\u002Fp>\n\u003Ch4>A Simple Flexible Sidebar Manager\u003C\u002Fh4>\n\u003Cp>** Custom Sidebars Includes: **\u003Cbr \u002F>\n* Unlimited custom widget configurations\u003Cbr \u002F>\n* Set custom widgets for individual posts and pages, categories, post types, and archives\u003Cbr \u002F>\n* Seamless integration with the WordPress Widgets menu\u003Cbr \u002F>\n* Works with well-coded themes and doesn’t slow down your site\u003Cbr \u002F>\n* Set individual widget visibility – for guests, by user role, by post type, for special pages or categories\u003Cbr \u002F>\n* Author specific sidebars – display a custom sidebar for each of your authors\u003Cbr \u002F>\n* Clone and sync widget settings – quickly edit complex configurations\u003Cbr \u002F>\n* Import and export custom sidebars – backup and share sidebars\u003C\u002Fp>\n\u003Cp>Install Custom Sidebars and see for yourself why it’s the most popular widget extension plugin available for WordPress with over 200,000 active installs.\u003C\u002Fp>\n\u003Ch3>Contact and Credits\u003C\u002Fh3>\n\u003Cp>Original development completed by \u003Ca href=\"http:\u002F\u002Fmarquex.es\u002F\" rel=\"nofollow ugc\">Javier Marquez\u003C\u002Fa>.\u003C\u002Fp>\n","Flexible sidebars for custom classic widget configurations on any page or post. Create custom sidebars with ease!",100000,5193767,94,1028,"2025-12-03T19:20:00.000Z","6.9.4","4.6","5.6",[57,58,59,23,24],"classic-widgets","custom-sidebar","dynamic-widgets","https:\u002F\u002Fwordpress.org\u002Fplugins\u002Fcustom-sidebars\u002F","https:\u002F\u002Fdownloads.wordpress.org\u002Fplugin\u002Fcustom-sidebars.3.38.zip",98,"2017-10-04 00:00:00",{"slug":65,"name":66,"version":67,"author":68,"author_profile":69,"description":70,"short_description":71,"active_installs":48,"downloaded":72,"rating":62,"num_ratings":73,"last_updated":74,"tested_up_to":75,"requires_at_least":76,"requires_php":77,"tags":78,"homepage":82,"download_link":83,"security_score":84,"vuln_count":85,"unpatched_count":28,"last_vuln_date":86,"fetched_at":30},"image-widget","Image Widget","4.4.11","StellarWP","https:\u002F\u002Fprofiles.wordpress.org\u002Fstellarwp\u002F","\u003Cp>Image Widget is a simple plugin that uses the native WordPress media manager to add image widgets to your site.\u003C\u002Fp>\n\u003Ch4>Image Widget Features\u003C\u002Fh4>\n\u003Cul>\n\u003Cli>Responsive\u003C\u002Fli>\n\u003Cli>MU Compatible\u003C\u002Fli>\n\u003Cli>Handles image resizing and alignment\u003C\u002Fli>\n\u003Cli>Link the image\u003C\u002Fli>\n\u003Cli>Add title and description\u003C\u002Fli>\n\u003Cli>Versatile – all fields are optional\u003C\u002Fli>\n\u003Cli>Upload, link to external image, or select an image from your media collection\u003C\u002Fli>\n\u003Cli>Customize the look & feel with filter hooks or theme overrides\u003C\u002Fli>\n\u003C\u002Ful>\n\u003Ch4>Quality You Can Trust\u003C\u002Fh4>\n\u003Cp>Image Widget is developed and maintained by \u003Ca href=\"https:\u002F\u002Fevnt.is\u002F1aor\" rel=\"nofollow ugc\">The Events Calendar\u003C\u002Fa>, the same folks behind \u003Ca href=\"https:\u002F\u002Fevnt.is\u002F19me\" rel=\"nofollow ugc\">The Events Calendar, Event Tickets, and a full suite of premium plugins\u003C\u002Fa>.\u003C\u002Fp>\n\u003Cp>This plugin is actively supported by our team and contributions from community members. If you see a question in the forum you can help with or have a great idea and want to code it up or submit a patch, that would be awesome! Not only will we shower you with praise and thanks, it’s also a good way to get to know us and lead into options for paid work if you freelance.\u003C\u002Fp>\n\u003Ch4>Pull Requests & Translations\u003C\u002Fh4>\n\u003Cp>\u003Ca href=\"https:\u002F\u002Fgithub.com\u002Fthe-events-calendar\u002Fimage-widget\" rel=\"nofollow ugc\">Check us out on GitHub\u003C\u002Fa> to pull request changes.\u003C\u002Fp>\n\u003Cp>Translations can be submitted \u003Ca href=\"https:\u002F\u002Ftranslate.wordpress.org\u002Fprojects\u002Fwp-plugins\u002Fimage-widget\" rel=\"nofollow ugc\">here on WordPress.org\u003C\u002Fa>.\u003C\u002Fp>\n\u003Ch3>Documentation\u003C\u002Fh3>\n\u003Cp>The built in template can be overridden by files within your template.\u003C\u002Fp>\n\u003Ch4>Default vs. Custom Templates\u003C\u002Fh4>\n\u003Cp>The Image Widget comes with a default template for the widget output. If you would like to alter the widget display code, create a new folder called “image-widget” in your template directory and copy over the “views\u002Fwidget.php” file.\u003C\u002Fp>\n\u003Cp>Edit the new file to your hearts content. Please do not edit the one in the plugin folder as that will cause conflicts when you update the plugin to the latest release.\u003C\u002Fp>\n\u003Cp>New in 3.2: You may now also use the “sp_template_image-widget_widget.php” filter to override the default template behavior for .php template files. Eg: if you wanted widget.php to reside in a folder called my-custom-templates\u002F and wanted it to be called my-custom-name.php:\u003C\u002Fp>\n\u003Cpre>\u003Ccode>add_filter('sp_template_image-widget_widget.php', 'my_template_filter');\nfunction my_template_filter($template) {\n    return get_template_directory() . '\u002Fmy-custom-templates\u002Fmy-custom-name.php';\n}\n\u003C\u002Fcode>\u003C\u002Fpre>\n\u003Ch4>Filters\u003C\u002Fh4>\n\u003Cp>There are a number of filters in the code that will allow you to override data as you see fit. The best way to learn what filters are available is always by simply searching the code for ‘apply_filters’. But all the same, here are a few of the more essential filters:\u003C\u002Fp>\n\u003Cp>\u003Cem>widget_title\u003C\u002Fem>\u003C\u002Fp>\n\u003Cp>This is actually a pretty typical filter in widgets and is applied to the widget title.\u003C\u002Fp>\n\u003Cp>\u003Cem>widget_text\u003C\u002Fem>\u003C\u002Fp>\n\u003Cp>Another very typical widget filter that is applied to the description body text. This filter also takes 2 additional arguments for $args and $instance so that you can learn more about the specific widget instance in the process of filtering the content.\u003C\u002Fp>\n\u003Cp>\u003Cem>image_widget_image_attachment_id\u003C\u002Fem>\u003C\u002Fp>\n\u003Cp>Filters the attachment id of the image.\u003Cbr \u002F>\nAccepts additional $args and $instance arguments.\u003C\u002Fp>\n\u003Cp>\u003Cem>image_widget_image_url\u003C\u002Fem>\u003C\u002Fp>\n\u003Cp>Filters the url of the image displayed in the widget.\u003Cbr \u002F>\nAccepts additional $args and $instance arguments.\u003Cbr \u002F>\nTHIS IS DEPRECATED AND WILL EVENTUALLY BE DELETED\u003C\u002Fp>\n\u003Cp>\u003Cem>image_widget_image_width\u003C\u002Fem>\u003C\u002Fp>\n\u003Cp>Filters the display width of the image.\u003Cbr \u002F>\nAccepts additional $args and $instance arguments.\u003C\u002Fp>\n\u003Cp>\u003Cem>image_widget_image_height\u003C\u002Fem>\u003C\u002Fp>\n\u003Cp>Filters the display height of the image.\u003Cbr \u002F>\nAccepts additional $args and $instance arguments.\u003C\u002Fp>\n\u003Cp>\u003Cem>image_widget_image_maxwidth\u003C\u002Fem>\u003C\u002Fp>\n\u003Cp>Filters the inline max-width style of the image. Hint: override this to use this in responsive designs 🙂\u003Cbr \u002F>\nAccepts additional $args and $instance arguments.\u003Cbr \u002F>\nReturn null to remove this css from the image output (defaults to ‘100%’).\u003C\u002Fp>\n\u003Cp>\u003Cem>image_widget_image_maxheight\u003C\u002Fem>\u003C\u002Fp>\n\u003Cp>Filters the inline max-height style of the image.\u003Cbr \u002F>\nAccepts additional $args and $instance arguments.\u003Cbr \u002F>\nReturn null to remove this css from the image output (defaults to null)\u003C\u002Fp>\n\u003Cp>\u003Cem>image_widget_image_size\u003C\u002Fem>\u003C\u002Fp>\n\u003Cp>Filters the selected image ‘size’ corresponding to WordPress registered sizes.\u003Cbr \u002F>\nIf this is set to ‘tribe_image_widget_custom’ then the width and height are used instead.\u003Cbr \u002F>\nAccepts additional $args and $instance arguments.\u003C\u002Fp>\n\u003Cp>\u003Cem>image_widget_image_align\u003C\u002Fem>\u003C\u002Fp>\n\u003Cp>Filters the display alignment of the image.\u003Cbr \u002F>\nAccepts additional $args and $instance arguments.\u003C\u002Fp>\n\u003Cp>\u003Cem>image_widget_image_alt\u003C\u002Fem>\u003C\u002Fp>\n\u003Cp>Filters the alt text of the image.\u003Cbr \u002F>\nAccepts additional $args and $instance arguments.\u003C\u002Fp>\n\u003Cp>\u003Cem>image_widget_image_link\u003C\u002Fem>\u003C\u002Fp>\n\u003Cp>Filters the url that the image links to.\u003Cbr \u002F>\nAccepts additional $args and $instance arguments.\u003C\u002Fp>\n\u003Cp>\u003Cem>image_widget_image_link_target\u003C\u002Fem>\u003C\u002Fp>\n\u003Cp>Filters the link target of the image link.\u003Cbr \u002F>\nAccepts additional $args and $instance arguments.\u003C\u002Fp>\n\u003Cp>\u003Cem>image_widget_image_attributes\u003C\u002Fem>\u003C\u002Fp>\n\u003Cp>Filters a list of image attributes used in the image output. Similar to ‘wp_get_attachment_image_attributes’\u003Cbr \u002F>\nAccepts $instance arguments\u003C\u002Fp>\n\u003Cp>\u003Cem>image_widget_link_attributes\u003C\u002Fem>\u003C\u002Fp>\n\u003Cp>Filters a list of attributes used in the image link. Similar to ‘wp_get_attachment_image_attributes’\u003Cbr \u002F>\nAccepts $instance arguments\u003C\u002Fp>\n\u003Ch4>Have You Supported the Image Widget?\u003C\u002Fh4>\n\u003Cp>If so, then THANK YOU! Also, feel free to add this line to your wp-config.php file to prevent the image widget from displaying a message after upgrades.\u003C\u002Fp>\n\u003Cp>define( ‘I_HAVE_SUPPORTED_THE_IMAGE_WIDGET’, true );\u003C\u002Fp>\n\u003Cp>For more info on the philosophy here, check out our \u003Ca href=\"http:\u002F\u002Ftri.be\u002Fdefine-i-have-donated-true\u002F\" rel=\"nofollow ugc\">blog post\u003C\u002Fa>\u003C\u002Fp>\n","A simple image widget that uses the native WordPress media manager to add image widgets to your site.",4620377,287,"2024-11-20T20:44:00.000Z","6.7.5","3.5","",[79,80,81,23,24],"ad","banner","image","https:\u002F\u002Fwordpress.org\u002Fplugins\u002Fimage-widget\u002F","https:\u002F\u002Fdownloads.wordpress.org\u002Fplugin\u002Fimage-widget.4.4.11.zip",91,1,"2024-11-22 00:00:00",{"slug":88,"name":89,"version":90,"author":91,"author_profile":92,"description":93,"short_description":94,"active_installs":48,"downloaded":95,"rating":96,"num_ratings":97,"last_updated":98,"tested_up_to":53,"requires_at_least":99,"requires_php":100,"tags":101,"homepage":77,"download_link":105,"security_score":106,"vuln_count":107,"unpatched_count":28,"last_vuln_date":108,"fetched_at":30},"widget-logic","Widget Logic","6.0.9","Widgetlogic.org","https:\u002F\u002Fprofiles.wordpress.org\u002Fwidgetlogics\u002F","\u003Cp>This plugin gives every widget an extra control field called “Widget logic” that lets you control the pages that the widget will appear on. The text field lets you use WP’s \u003Ca href=\"https:\u002F\u002Fcodex.wordpress.org\u002FConditional_Tags\" rel=\"nofollow ugc\">Conditional Tags\u003C\u002Fa>, or any general PHP code.\u003C\u002Fp>\n\u003Cp>The configuring and options are in the usual widget admin interface.\u003C\u002Fp>\n\u003Cp>BIG UPDATE:\u003C\u002Fp>\n\u003Cul>\n\u003Cli>\n\u003Cp>Now you can control widget in Gutenberg Widgets editor as well as in Classic Editor. It is just as easy as before but also in gutenberg view.\u003C\u002Fp>\n\u003C\u002Fli>\n\u003Cli>\n\u003Cp>Pre-installed widgets let you add special widget with one click of the mouse. First pre-installed widget is Live Match that let you add widget of one random live football game with real time score updates (teams logos, livescore, minute of the match, tournament name). And more interesting widgets to come!\u003C\u002Fp>\n\u003C\u002Fli>\n\u003C\u002Ful>\n\u003Cp>\u003Cstrong>NOTE ON DEFAULT FUNCTIONS:\u003C\u002Fstrong> Widget Logic includes a whitelist of common WordPress conditional tags and safe functions. If you need additional WordPress functions that are not currently whitelisted, please create a topic in our \u003Ca href=\"https:\u002F\u002Fwordpress.org\u002Fsupport\u002Fplugin\u002Fwidget-logic\u002F\" rel=\"ugc\">support forum\u003C\u002Fa> to request them. We regularly add commonly requested functions in new releases.\u003C\u002Fp>\n\u003Ch4>Configuration\u003C\u002Fh4>\n\u003Cp>Aside from logic against your widgets, there are three options added to the foot of the widget admin page (see screenshots).\u003C\u002Fp>\n\u003Cul>\n\u003Cli>\n\u003Cp>Use ‘wp_reset_query’ fix — Many features of WP, as well as the many themes and plugins out there, can mess with the conditional tags, such that is_home is NOT true on the home page. This can often be fixed with a quick wp_reset_query() statement just before the widgets are called, and this option puts that in for you rather than having to resort to code editing\u003C\u002Fp>\n\u003C\u002Fli>\n\u003Cli>\n\u003Cp>Load logic — This option allows you to set the point in the page load at which your widget logic if first checked. Pre v.50 it was when the ‘wp_head’ trigger happened, ie during the creation of the HTML’s HEAD block. Many themes didn’t call wp_head, which was a problem. From v.50 it happens, by default, as early as possible, which is as soon as the plugin loads. You can now specify these ‘late load’ points (in chronological order):\u003C\u002Fp>\n\u003Cul>\n\u003Cli>after the theme loads (after_setup_theme trigger)\u003C\u002Fli>\n\u003Cli>when all PHP loaded (wp_loaded trigger)\u003C\u002Fli>\n\u003Cli>after query variables set (parse_query) – this is the default\u003C\u002Fli>\n\u003Cli>during page header (wp_head trigger)\u003C\u002Fli>\n\u003C\u002Ful>\n\u003Cp>You may need to delay the load if your logic depends on functions defined, eg in the theme functions.php file. Conversely you may want the load early so that the widget count is calculated correctly, eg to show an alternative layour or content when a sidebar has no widgets.\u003C\u002Fp>\n\u003C\u002Fli>\n\u003Cli>\n\u003Cp>Don’t cache widget logic results — From v .58 the widget logic code should only execute once, but that might cause unexpected results with some themes, so this option is here to turn that behaviour off. (The truth\u002Ffalse of the code will be evaluated every time the sidebars_widgets filter is called.\u003C\u002Fp>\n\u003C\u002Fli>\n\u003Cli>\n\u003Cp>Custom PHP Functions — From v.6.0.6 you can use the \u003Ccode>widget_logic_allowed_functions\u003C\u002Fcode> filter to add custom PHP functions that will be allowed in Widget Logic fields. By default, only WordPress conditional tags and a whitelist of safe functions are available. This filter allows you to extend the functionality and use your own custom functions.\u003C\u002Fp>\n\u003Cp>To add a custom function, add the following code to your theme’s \u003Ccode>functions.php\u003C\u002Fcode> file:\u003C\u002Fp>\n\u003Cpre>\u003Ccode>`add_filter('widget_logic_allowed_functions', 'my_allowed_functions');\n\u003C\u002Fcode>\u003C\u002Fpre>\n\u003Cp>function my_allowed_functions($functions) {\u003Cbr \u002F>\n    $functions[] = ‘\u003Cem>my_custom_function_name\u003C\u002Fem>‘;\u003Cbr \u002F>\n    return $functions;\u003Cbr \u002F>\n}`\u003C\u002Fp>\n\u003Cp>You can add multiple functions by using one wrapper function:\u003C\u002Fp>\n\u003Cpre>\u003Ccode>`add_filter('widget_logic_allowed_functions', 'my_allowed_functions');\n\u003C\u002Fcode>\u003C\u002Fpre>\n\u003Cp>function my_allowed_functions($functions) {\u003Cbr \u002F>\n    $functions[] = ‘is_special_page’;\u003Cbr \u002F>\n    $functions[] = ‘is_user_verified’;\u003Cbr \u002F>\n    $functions[] = ‘get_sidebar_title’;\u003Cbr \u002F>\n    return $functions;\u003Cbr \u002F>\n}`\u003C\u002Fp>\n\u003Cp>\u003Cstrong>IMPORTANT NOTE ON VARIABLES:\u003C\u002Fstrong> Widget Logic is designed to work with simple data types (strings, numbers, booleans). If you need to use complex variables, global state, or conditional logic that depends on many factors, create a custom function in your theme’s \u003Ccode>functions.php\u003C\u002Fcode> file and call it from Widget Logic:\u003C\u002Fp>\n\u003Cp>\u003Cstrong>Good approach (in functions.php):\u003C\u002Fstrong>\u003C\u002Fp>\n\u003Cpre>\u003Ccode>`function is_special_page() {\nglobal $post;\n$special_ids = array(5, 10, 15);\n$conditions = some_complex_function();\n\nreturn is_page() && in_array($post->ID, $special_ids) && $conditions;\n\u003C\u002Fcode>\u003C\u002Fpre>\n\u003Cp>}`\u003C\u002Fp>\n\u003Cp>Then in Widget Logic field, simply use: \u003Ccode>is_special_page()\u003C\u002Fcode>\u003C\u002Fp>\n\u003Cp>\u003Cstrong>Less ideal approach (in Widget Logic field):\u003C\u002Fstrong>\u003Cbr \u002F>\nAvoid putting complex logic directly in the Widget Logic field. Keep it simple and let your custom function handle the complexity. This keeps your widget settings clean and maintainable.\u003C\u002Fp>\n\u003C\u002Fli>\n\u003C\u002Ful>\n\u003Ch4>Interaction with External Services\u003C\u002Fh4>\n\u003Cp>Widget Logic uses the external service to obtain up-to-date information about the results of football matches. \u003Ca href=\"https:\u002F\u002Fwidgetlogic.org\" rel=\"nofollow ugc\">widgetlogic.org\u003C\u002Fa> is a source of sports information, that provides a wide range of information about football, including various leagues, tournaments, and championships from around the world.\u003C\u002Fp>\n\u003Cp>The functioning of the \u003Ca href=\"https:\u002F\u002Fwidgetlogic.org\" rel=\"nofollow ugc\">widgetlogic.org\u003C\u002Fa> service is based on delivering real-time data about selected matches without the need to refresh the page. This means that data is automatically updated without requiring page reload. This approach ensures users quick and uninterrupted access to the latest sports data without the effort of manually updating information, allowing them to stay informed about ongoing events in real-time.\u003C\u002Fp>\n\u003Ch3>Writing Logic Code\u003C\u002Fh3>\n\u003Cp>The text in the ‘Widget logic’ field can be full PHP code and should return ‘true’ when you need the widget to appear. If there is no ‘return’ in the text, an implicit ‘return’ is added to the start and a ‘;’ is added on the end. (This is just to make single statements like is_home() more convenient.)\u003C\u002Fp>\n\u003Ch4>The Basics\u003C\u002Fh4>\n\u003Cp>Make good use of \u003Ca href=\"https:\u002F\u002Fcodex.wordpress.org\u002FConditional_Tags\" rel=\"nofollow ugc\">WP’s own conditional tags\u003C\u002Fa>. You can vary and combine code using:\u003C\u002Fp>\n\u003Cul>\n\u003Cli>\u003Ccode>!\u003C\u002Fcode> (NOT) to \u003Cstrong>reverse\u003C\u002Fstrong> the logic, eg \u003Ccode>!is_home()\u003C\u002Fcode> is TRUE when this is NOT the home page.\u003C\u002Fli>\n\u003Cli>\u003Ccode>||\u003C\u002Fcode> (OR) to \u003Cstrong>combine\u003C\u002Fstrong> conditions. \u003Ccode>X OR Y\u003C\u002Fcode> is TRUE when either X is true or Y is true.\u003C\u002Fli>\n\u003Cli>\u003Ccode>&&\u003C\u002Fcode> (AND) to make conditions \u003Cstrong>more specific\u003C\u002Fstrong>. \u003Ccode>X AND Y\u003C\u002Fcode> is TRUE when both X is true and Y is true.\u003C\u002Fli>\n\u003C\u002Ful>\n\u003Cp>There are lots of great code examples on the WP forums, and on WP sites across the net. But the WP Codex is also full of good examples to adapt, such as \u003Ca href=\"https:\u002F\u002Fcodex.wordpress.org\u002FTemplate_Tags\u002Fin_category#Testing_if_a_post_is_in_a_descendant_category\" rel=\"nofollow ugc\">Test if post is in a descendent category\u003C\u002Fa>.\u003C\u002Fp>\n\u003Ch4>Examples\u003C\u002Fh4>\n\u003Cul>\n\u003Cli>\u003Ccode>is_home()\u003C\u002Fcode> — just the main blog page\u003C\u002Fli>\n\u003Cli>\u003Ccode>!is_page('about')\u003C\u002Fcode> — everywhere EXCEPT this specific WP ‘page’\u003C\u002Fli>\n\u003Cli>\u003Ccode>!is_user_logged_in()\u003C\u002Fcode> — shown when a user is not logged in\u003C\u002Fli>\n\u003Cli>\u003Ccode>is_category(array(5,9,10,11))\u003C\u002Fcode> — category page of one of the given category IDs\u003C\u002Fli>\n\u003Cli>\u003Ccode>is_single() && in_category('baked-goods')\u003C\u002Fcode> — single post that’s in the category with this slug\u003C\u002Fli>\n\u003Cli>\u003Ccode>current_user_can('level_10')\u003C\u002Fcode> — admin only widget\u003C\u002Fli>\n\u003Cli>\u003Ccode>strpos($_SERVER['HTTP_REFERER'], \"google.com\")!=false\u003C\u002Fcode> — widget to show when clicked through from a google search\u003C\u002Fli>\n\u003Cli>\u003Ccode>is_category() && custom_function_to_check_the_category()\u003C\u002Fcode> — category page that’s a descendent of category 5\u003C\u002Fli>\n\u003Cli>\u003Ccode>custom_function_from_functions_php_to_check_the_page()\u003C\u002Fcode> — WP page that is a child of page 77\u003C\u002Fli>\n\u003Cli>\u003Ccode>custom_function_from_functions_php_to_check_the_page_child_of(13)\u003C\u002Fcode> — home page OR the page that’s a child of page 13\u003C\u002Fli>\n\u003C\u002Ful>\n","Widget Logic lets you control on which pages widgets appear using WP's conditional tags.",3242040,88,188,"2026-01-15T09:43:00.000Z","3.0","5.4",[102,103,104,23,24],"blocks","conditional-tags","gutenberg-widgets","https:\u002F\u002Fdownloads.wordpress.org\u002Fplugin\u002Fwidget-logic.6.0.9.zip",95,2,"2025-06-09 00:00:00",{"slug":110,"name":111,"version":112,"author":113,"author_profile":114,"description":115,"short_description":116,"active_installs":48,"downloaded":117,"rating":62,"num_ratings":118,"last_updated":119,"tested_up_to":75,"requires_at_least":55,"requires_php":120,"tags":121,"homepage":124,"download_link":125,"security_score":126,"vuln_count":127,"unpatched_count":28,"last_vuln_date":128,"fetched_at":30},"widget-options","Widget Options – Advanced Conditional Visibility for Gutenberg Blocks & Classic Widgets","4.2.0","Marketing Fire","https:\u002F\u002Fprofiles.wordpress.org\u002Fmarketingfire\u002F","\u003Cp>Widget Options gives you super powers to control your site’s sidebar widgets and all Gutenberg blocks on pages & posts.\u003C\u002Fp>\n\u003Cp>👉 Over 2,700,000+ downloads\u003Cbr \u002F>\n👉 Average rating of ⭐⭐⭐⭐⭐ 4.9 stars\u003Cbr \u002F>\n👉 Reduce plugin bloat. Widgets AND Gutenberg block control in one plugin\u003C\u002Fp>\n\u003Cp>Widget Options expands Widget & Gutenberg block settings with feature-packed options so you can completely manage and control their visibility, appearance, and behavior. Show or hide content depending on user roles, devices, dates, URL…and more!\u003C\u002Fp>\n\u003Cp>\u003Cstrong> ✨ INSIDER TIP: ✨ Power users love the \u003Ca href=\"https:\u002F\u002Fwidget-options.com\u002F\" rel=\"nofollow ugc\">Pro version—unlock conditional logic, animation effects, sticky widgets, custom styling, and dozens of advanced controls\u003C\u002Fa> to make your blocks and widgets do exactly what you want. \u003C\u002Fstrong>\u003C\u002Fp>\n\u003Cspan class=\"embed-youtube\" style=\"text-align:center; display: block;\">\u003Ciframe loading=\"lazy\" class=\"youtube-player\" width=\"750\" height=\"422\" src=\"https:\u002F\u002Fwww.youtube.com\u002Fembed\u002F6ey1rDrlm_A?version=3&rel=1&showsearch=0&showinfo=1&iv_load_policy=1&fs=1&hl=en-US&autohide=2&wmode=transparent\" allowfullscreen=\"true\" style=\"border:0;\" sandbox=\"allow-scripts allow-same-origin allow-popups allow-presentation allow-popups-to-escape-sandbox\">\u003C\u002Fiframe>\u003C\u002Fspan>\n\u003Ch3>Take Full Control over your WordPress Widgets & Gutenberg Blocks\u003C\u002Fh3>\n\u003Cp>Widget Options’ suite of controls makes it simple to achieve all of the following:\u003C\u002Fp>\n\u003Ch4>✅ EASILY MANAGE WIDGET & GUTENBERG BLOCK VISIBILITY ON YOUR WORDPRESS SITE\u003C\u002Fh4>\n\u003Cp>Effortlessly manage visibility and access across different pages, posts, and categories with the Widget Options plugin.With intuitive search or checkbox selections, customize your site’s layout for categories, tags, custom post types, and more, ensuring your widgets and blocks appear exactly where you want them!\u003C\u002Fp>\n\u003Ch4>✅ SHOW OR HIDE WIDGETS OR BLOCKS ON MOBILE DEVICES, DESKTOP AND\u002FOR TABLET\u003C\u002Fh4>\n\u003Cp>Enhance your website’s mobile experience with Widget Options. This tool allows you to streamline navigation by selectively displaying widgets or blocks on mobile devices. Keep your desktop and tablet interfaces unaffected while optimizing mobile views. The ‘Device Visibility’ feature in the widget settings clearly indicates which sidebar widgets are active on different devices, ensuring a flexible and user-friendly widget management.\u003C\u002Fp>\n\u003Ch4>✅ USER LOGIN STATE\u003C\u002Fh4>\n\u003Cp>Decide which widgets or Gutenberg blocks should be visible or hidden to either logged-in or non-logged-in users. This feature is helpful when you want certain website functions to be available only to registered users.\u003C\u002Fp>\n\u003Ch4>✅ CUSTOM WORDPRESS WIDGET ALIGNMENTS\u003C\u002Fh4>\n\u003Cp>Change your widget or block alignment to match the entire look of your website. Comes with \u003Cstrong>center, left, right, and justified alignment\u003C\u002Fstrong>\u003Cstrong> options which can be customized for each device type.\u003C\u002Fstrong>\u003C\u002Fp>\n\u003Ch4>✅ CUSTOM WIDGET ID & CLASSES\u003C\u002Fh4>\n\u003Cp>Create predefined classes on the plugin’s settings page and use them later for each widget. You can also add custom widget ID and additional classes for styling or javascript purposes.\u003C\u002Fp>\n\u003Ch4>✅ DISPLAY WIDGET LOGIC\u003C\u002Fh4>\n\u003Cp>Use \u003Ca href=\"https:\u002F\u002Fcodex.wordpress.org\u002FConditional_Tags\" rel=\"nofollow ugc\">WordPress Conditional\u003C\u002Fa> tags to manage and restrict your widgets or Gutenberg blocks using display widget logic option if you’re geeky enough to use PHP conditions and in need of custom restrictions.\u003C\u002Fp>\n\u003Ch4>✅ HIDE WIDGET TITLE\u003C\u002Fh4>\n\u003Cp>Easily hide widget titles from the front-end display while retaining them on the backend dashboard for labeling.\u003C\u002Fp>\n\u003Ch4>✅ ENABLE \u002F DISABLE WIDGET OPTIONS FEATURES\u003C\u002Fh4>\n\u003Cp>Tailor your experience effortlessly by selecting only the features you desire, and easily disable any unwanted widget options features through the intuitive settings page.\u003C\u002Fp>\n\u003Ch4>✅ WIDGET BLOCK EDITOR\u003C\u002Fh4>\n\u003Cp>Choose between the Classic Widget or Gutenberg Block Widget Editor with our latest feature. Experience the classic design with the old widget or embrace the power of blocks with the modern widget. Ideal for users who love the Gutenberg experience!\u003C\u002Fp>\n\u003Ch4>✅ STICKY\u002FFIXED WORDPRESS WIDGETS (PRO)\u003C\u002Fh4>\n\u003Cp>This premium feature allows widgets to be always visible to users as they scroll up and down a webpage. Make your most important widgets sticky or fixed so that users can access them easily.\u003C\u002Fp>\n\u003Ch3>Widget Option’s Time-Saving Features\u003C\u002Fh3>\n\u003Cp>Widget plugins shouldn’t only give you control over your widgets. They must also save you a lot of time! Here are Widget Options’ features that can do that:\u003C\u002Fp>\n\u003Ch4>✅ LIVE WIDGET SEARCH FILTER\u003C\u002Fh4>\n\u003Cp>Admins save time and manage widgets more efficiently by enabling the live widget search box on your widget dashboard to locate widgets easier. No need to scroll the page.\u003C\u002Fp>\n\u003Ch4>✅ NO NEED TO DRAG WORDPRESS WIDGETS TO MOVE THEM\u003C\u002Fh4>\n\u003Cp>Increase productivity and improve widgets management by moving any widgets easily with just a click-and-select action. No more drag-and-drop! This is a convenient option especially when using small-screen devices such as tablets or mobile phones.\u003C\u002Fp>\n\u003Ch4>✅ IMPORT & EXPORT WIDGETS AND WIDGET AREA BACKUP\u003C\u002Fh4>\n\u003Cp>You can now import and export WordPress widgets easily and create backups of specific sidebar widget areas. Move widgets to another website with ease.\u003C\u002Fp>\n\u003Ch4>✅ VIEW YOUR CHANGES LIVE\u003C\u002Fh4>\n\u003Cp>This plugin is customizer-ready for easier modification. View your changes live before saving it!\u003C\u002Fp>\n\u003Ch3>Compatible with Most Major Page Builders\u003C\u002Fh3>\n\u003Cp>Some widget plugins may not work well with page builders. Widget Options supports Gutenberg, SiteOrigin, Elementor, and Beaver, helping you manage widget visibility and placement with ease.\u003C\u002Fp>\n\u003Ch4>🛠️ GUTENBERG BLOCK EDITOR BY WORDPRESS\u003C\u002Fh4>\n\u003Cp>Widget Options gives you full control over the visibility of Gutenberg Blocks, which are the building blocks for many themes and sites today. Simply select the content block you want to edit and you will see all of the Widget Options abilities on the right side settings panel.\u003C\u002Fp>\n\u003Ch4>🛠️ PAGE BUILDER BY SITEORIGIN PLUGIN COMPATIBLE\u003C\u002Fh4>\n\u003Cp>With Widget Options on your website that is powered by SiteOrigin Page Builder, you can add more control to the widget panels. Manage visibility on specific device types, change alignments, hide widget panel title, add custom classes, and control visibility using display widget logic option!\u003C\u002Fp>\n\u003Ch4>🛠️ ELEMENTOR PAGE BUILDER READY\u003C\u002Fh4>\n\u003Cp>Extend Widget Options’ visibility restrictions on elementor widgets! You can now have the same widget management features available to your Elementor-powered websites.\u003C\u002Fp>\n\u003Ch4>🛠️ BEAVER BUILDER PLUGIN READY\u003C\u002Fh4>\n\u003Cp>Widget Options now comes with Beaver Builder plugin integration – integrated for a smooth website building workflow. You can fully manage each module in many ways you want!\u003C\u002Fp>\n\u003Ch4>🛠️ ADVANCED CUSTOM FIELDS (ACF) SUPPORT\u003C\u002Fh4>\n\u003Cp>Easily show or hide any widget using your ACF fields and conditions. You can create restrictions on your widgets with the following conditions:\u003C\u002Fp>\n\u003Cul>\n\u003Cli>Equal To\u003C\u002Fli>\n\u003Cli>Not Equal To\u003C\u002Fli>\n\u003Cli>Contains\u003C\u002Fli>\n\u003Cli>Does Not Contain\u003C\u002Fli>\n\u003Cli>Is Empty\u003C\u002Fli>\n\u003Cli>Is Not Empty\u003C\u002Fli>\n\u003C\u002Ful>\n\u003Cp>The ACF function is also available for Elementor and Beaver Builder.\u003C\u002Fp>\n\u003Ch3>UPGRADE TO THE WIDGET OPTIONS EXTENDED PLUGIN\u003C\u002Fh3>\n\u003Cp>Turn Widget Options into an even more flexible widget area manager. Upgrade to \u003Ca href=\"http:\u002F\u002Fwidget-options.com\u002Fpricing\u002F\" rel=\"nofollow ugc\">Widget Options Extended\u003C\u002Fa> today!\u003C\u002Fp>\n\u003Ch4>✨ PREMIUM FEATURES ✨\u003C\u002Fh4>\n\u003Cul>\n\u003Cli>NEW: Unlock more features for Gutenberg widgets and blocks (pages, posts and other custom post types)\u003C\u002Fli>\n\u003Cli>NEW: Widget visibility for author’s contents and archive page\u003C\u002Fli>\n\u003Cli>Inherit page parent visibility\u003C\u002Fli>\n\u003Cli>NEW: Filter multiple pages by keyword-containing slug\u003C\u002Fli>\n\u003Cli>Target URLs and wildcard restrictions\u003C\u002Fli>\n\u003Cli>Clone widgets\u003C\u002Fli>\n\u003Cli>Custom widget links\u003C\u002Fli>\n\u003Cli>Advanced widget visibility control by user role\u003C\u002Fli>\n\u003Cli>Sticky \u002F fixed WordPress widgets\u003C\u002Fli>\n\u003Cli>Custom widget columns display\u003C\u002Fli>\n\u003Cli>NEW: Widget visibility per days and date range (+ option to ignore year)\u003C\u002Fli>\n\u003Cli>Custom WordPress widget styling\u003C\u002Fli>\n\u003Cli>Widget cache\u003C\u002Fli>\n\u003Cli>Extended taxonomy and terms support\u003C\u002Fli>\n\u003Cli>Display sidebars and widgets using shortcodes\u003C\u002Fli>\n\u003Cli>Disable any WordPress widgets\u003C\u002Fli>\n\u003Cli>Permission options (control who can edit widget settings based on user role)\u003C\u002Fli>\n\u003C\u002Ful>\n\u003Cp>👉👉 Check out the full list of \u003Ca href=\"http:\u002F\u002Fwidget-options.com\u002Ffeatures\u002F\" rel=\"nofollow ugc\">Widget Options Extended features here\u003C\u002Fa>.\u003C\u002Fp>\n\u003Ch3>ADD-ONS\u003C\u002Fh3>\n\u003Cp>Check out the \u003Ca href=\"https:\u002F\u002Fwidget-options.com\u002Ffeatures\u002Fmodal-pop-up-and-sliding-widget-options\u002F\" rel=\"nofollow ugc\">Sliding Widget Options\u003C\u002Fa> add-on! Transform any of your widgets into:\u003C\u002Fp>\n\u003Cul>\n\u003Cli>A modal pop-up\u003C\u002Fli>\n\u003Cli>A slide in\u002Ftoaster\u003C\u002Fli>\n\u003Cli>A chat box\u003C\u002Fli>\n\u003Cli>…any other animated sliding panel you can think of to increase your website’s user engagement!\u003C\u002Fli>\n\u003C\u002Ful>\n\u003Ch3>CONTACT AND CREDITS\u003C\u002Fh3>\n\u003Cp>Widget Options for WordPress is regularly maintained and developed by the \u003Ca href=\"https:\u002F\u002Fwidget-options.com\u002F\" rel=\"nofollow ugc\">Widget Options Team\u003C\u002Fa>.\u003C\u002Fp>\n\u003Cp>We work hard to keep Widget Options up-to-date and expanding, to make the most powerful widget and block manager on WordPress even more, well… powerful! 💪\u003C\u002Fp>\n\u003Cp>If you would like to contribute, report issues or have suggestions, you can find the development version on \u003Ca href=\"https:\u002F\u002Fgithub.com\u002FWidgetOptions\u002Fwidget-options\" rel=\"nofollow ugc\">Github\u003C\u002Fa>.\u003C\u002Fp>\n\u003Cp>You can also visit us at our \u003Ca href=\"https:\u002F\u002Fwww.youtube.com\u002Fchannel\u002FUCgKC5IAqoz4Q7nW0WzueQFw\" rel=\"nofollow ugc\">Youtube Channel\u003C\u002Fa>.\u003C\u002Fp>\n\u003Ch3>Contact and Credits\u003C\u002Fh3>\n\u003Cp>Widget Options for WordPress is maintained and developed by \u003Ca href=\"https:\u002F\u002Fwidget-options.com\u002F\" rel=\"nofollow ugc\">Widget Options Team\u003C\u002Fa>.\u003C\u002Fp>\n","0ddcemmihs4a843ekhaoofzosrunf4bl Widget Options gives you super powers to control your site’s sidebar widgets and all Gutenberg blocks on pages, posts &hellip;",4062848,1516,"2026-03-12T16:37:00.000Z","7.4",[102,122,57,104,123],"blocks-visibility-rules","widget-control","https:\u002F\u002Fwidget-options.com\u002F","https:\u002F\u002Fdownloads.wordpress.org\u002Fplugin\u002Fwidget-options.4.2.0.zip",83,7,"2026-03-02 00:00:00",{"slug":130,"name":131,"version":132,"author":133,"author_profile":134,"description":135,"short_description":136,"active_installs":48,"downloaded":137,"rating":138,"num_ratings":139,"last_updated":140,"tested_up_to":141,"requires_at_least":142,"requires_php":77,"tags":143,"homepage":147,"download_link":148,"security_score":149,"vuln_count":85,"unpatched_count":28,"last_vuln_date":150,"fetched_at":30},"woosidebars","WooSidebars","1.4.6","WooThemes","https:\u002F\u002Fprofiles.wordpress.org\u002Fwoothemes\u002F","\u003Cp>With WooSidebars, it’s possible to change the widgets that display in a sidebar (widgetized area) according to a context (for example, a specific page, a specific blog post, certain categories or the search results screen). Setting up a custom widget area to display across multiple conditions is as easy as a few clicks.\u003C\u002Fp>\n\u003Cp>Looking for a helping hand? \u003Ca href=\"https:\u002F\u002Fwoocommerce.com\u002Fdocumentation\u002Fplugins\u002Fwoosidebars\u002F\" rel=\"nofollow ugc\">View plugin documentation\u003C\u002Fa>.\u003C\u002Fp>\n\u003Cp>Looking to contribute code to this plugin? \u003Ca href=\"https:\u002F\u002Fgithub.com\u002Fwoocommerce\u002Fwoosidebars\u002F\" rel=\"nofollow ugc\">Fork the repository over at GitHub\u003C\u002Fa>. Please also read the CONTRIBUTING.md file, bundled within this plugin.\u003C\u002Fp>\n","WooSidebars adds functionality to display different widgets in a sidebar, according to a context (for example, a specific page or a category).",2915654,78,48,"2024-04-03T17:11:00.000Z","6.5.8","4.1",[144,145,146],"sidebars","widget-areas","widgets","http:\u002F\u002Fwoocommerce.com\u002Fwoosidebars\u002F","https:\u002F\u002Fdownloads.wordpress.org\u002Fplugin\u002Fwoosidebars.1.4.6.zip",92,"2015-04-22 00:00:00",{"attackSurface":152,"codeSignals":219,"taintFlows":230,"riskAssessment":231,"analyzedAt":240},{"hooks":153,"ajaxHandlers":203,"restRoutes":216,"shortcodes":217,"cronEvents":218,"entryPointCount":34,"unprotectedCount":34},[154,160,164,168,171,174,179,183,187,190,193,198],{"type":155,"name":156,"callback":156,"priority":157,"file":158,"line":159},"action","in_widget_form",999,"includes\\ui.php",13,{"type":155,"name":161,"callback":162,"file":158,"line":163},"admin_enqueue_scripts","scripts",14,{"type":155,"name":165,"callback":166,"file":158,"line":167},"admin_footer","template_scripts",15,{"type":155,"name":169,"callback":162,"file":158,"line":170},"customize_preview_init",22,{"type":155,"name":172,"callback":166,"file":158,"line":173},"customize_controls_print_scripts",23,{"type":175,"name":176,"callback":177,"file":178,"line":159},"filter","wdc\u002Fdb_version","db_version","includes\\update-tasks.php",{"type":155,"name":180,"callback":181,"file":182,"line":36},"admin_menu","add_page","includes\\updater.php",{"type":155,"name":184,"callback":185,"priority":28,"file":182,"line":186},"admin_init","check_version",31,{"type":155,"name":184,"callback":188,"file":182,"line":189},"update",32,{"type":155,"name":191,"callback":191,"file":182,"line":192},"admin_notices",33,{"type":175,"name":194,"callback":195,"priority":157,"file":196,"line":197},"sidebars_widgets","wdc_sidebars_widgets","includes\\widgets.php",252,{"type":155,"name":199,"callback":200,"file":201,"line":202},"init","wdc_init","widget-display-conditions.php",75,[204,209,213],{"action":205,"nopriv":206,"callback":207,"hasNonce":206,"hasCapCheck":206,"file":158,"line":208},"wdc_ui_get_condition_field_items",false,"get_condition_field_items",17,{"action":210,"nopriv":206,"callback":211,"hasNonce":206,"hasCapCheck":206,"file":158,"line":212},"wdc_ui_preload","preload",18,{"action":214,"nopriv":206,"callback":188,"hasNonce":206,"hasCapCheck":206,"file":158,"line":215},"wdc_ui_update",19,[],[],[],{"dangerousFunctions":220,"sqlUsage":221,"outputEscaping":223,"fileOperations":28,"externalRequests":28,"nonceChecks":107,"capabilityChecks":28,"bundledLibraries":229},[],{"prepared":28,"raw":28,"locations":222},[],{"escaped":224,"rawEcho":85,"locations":225},6,[226],{"file":158,"line":227,"context":228},201,"raw output",[],[],{"summary":232,"deductions":233},"The widget-display-conditions plugin v0.2.8 exhibits a concerning security posture due to a significant number of unprotected AJAX endpoints. While the code analysis reveals no dangerous functions, SQL injection vulnerabilities (due to prepared statements), or file operations, the lack of authentication checks on all identified AJAX handlers is a major weakness. This creates an open attack vector where any user, regardless of their role or permissions, could potentially trigger these actions, leading to unintended consequences.  Furthermore, the absence of capability checks on these AJAX handlers compounds this risk, as it means these actions are not tied to any specific user privileges. The plugin's vulnerability history is clean, with no known CVEs, which is a positive sign. However, this lack of historical issues does not negate the current risks presented by the unprotected AJAX endpoints, which represent a fundamental security oversight. Overall, while the plugin demonstrates good practices in areas like SQL query handling and output escaping, the critical flaw in its AJAX security management requires immediate attention.",[234,236,238],{"reason":235,"points":167},"Unprotected AJAX handlers",{"reason":237,"points":14},"AJAX handlers missing capability checks",{"reason":239,"points":127},"High percentage of unprotected entry points","2026-03-16T19:56:41.853Z",{"wat":242,"direct":253},{"assetPaths":243,"generatorPatterns":247,"scriptPaths":248,"versionParams":249},[244,245,246],"\u002Fwp-content\u002Fplugins\u002Fwidget-display-conditions\u002Fassets\u002Fcss\u002Fui.css","\u002Fwp-content\u002Fplugins\u002Fwidget-display-conditions\u002Fassets\u002Fjs\u002Ffeatherlight.js","\u002Fwp-content\u002Fplugins\u002Fwidget-display-conditions\u002Fassets\u002Fjs\u002Fui.js",[],[245,246],[250,251,252],"widget-display-conditions\u002Fassets\u002Fcss\u002Fui.css?ver=","widget-display-conditions\u002Fassets\u002Fjs\u002Ffeatherlight.js?ver=","widget-display-conditions\u002Fassets\u002Fjs\u002Fui.js?ver=",{"cssClasses":254,"htmlComments":260,"htmlAttributes":261,"restEndpoints":265,"jsGlobals":269,"shortcodeOutput":271},[255,256,257,258,259],"wdc-open-ui","wdc-open-ui-wrap","wdc-ui","wdc-hide-if-conditions","wdc-show-if-conditions",[],[262,263,264],"data-widget","data-noncename","data-nonce",[266,267,268],"\u002Fwp-json\u002Fwp\u002Fv2\u002Fwdc_ui_get_condition_field_items","\u002Fwp-json\u002Fwp\u002Fv2\u002Fwdc_ui_preload","\u002Fwp-json\u002Fwp\u002Fv2\u002Fwdc_ui_update",[270],"wdc",[]]