\WPWand\Data\Brand::resolve()['color'], // Where the user asked for the trigger. 'top' means the admin-bar node is the trigger, // so the floating edge button must NOT also render — the setting moves the button, it // does not add a second one. See AdminBarTrigger. // 'hidden' means neither: no admin-bar node, no edge button. Only Settings brings it back. 'togglerPosition' => (string) get_option('toggler_position', 'top'), ]); if (function_exists('wp_set_script_translations')) { wp_set_script_translations(self::HANDLE, 'ai-content-generation'); } } }