feat(widgets): search affix, mod apply, blur_bg, iframe null

Wire search sidebar affix, plate moderator apply entry, user-lists
REST blur_bg, and iframe empty via aksrt_get_widget_null.
This commit is contained in:
2026-07-21 12:42:58 +08:00
parent aed056152c
commit caa4e51caa
4 changed files with 32 additions and 7 deletions
+1
View File
@@ -240,6 +240,7 @@ class WidgetAjax {
'include' => sanitize_text_field((string) ($request->get_param('include') ?? '')),
'exclude' => sanitize_text_field((string) ($request->get_param('exclude') ?? '')),
'hide_box' => (int) ($request->get_param('hide_box') ?? 0),
'blur_bg' => (int) ($request->get_param('blur_bg') ?? 0),
];
$html = \AKSRT\Widgets\WidgetUserLists::render_html($instance);
return new \WP_REST_Response(['success' => true, 'html' => $html], 200);