<?php
namespace NeoAnimateBeta\NeoDraw; if (!defined("ABSPATH")) { die("neoWP direct access not allowed"); }





if (\NeoAnimateBeta\NeoGlobal\option__neo_draw__svg_upload_enabled()) {
    interface_enable_svg_uploads_20250302();
}


\NeoAnimateBeta\NeoGlobal\add_action_hook("neo_init", function () {
    $settings_render_callback = function () {
        ?><neo-setting-neo-animate-beta>
            <div slot="left">
                <h3><?php \NeoAnimateBeta\NeoGlobal\echo_neo__("SVG uploads", "SVG-Uploads") ?></h3>
                <p><?php \NeoAnimateBeta\NeoGlobal\echo_neo__("Enable SVG uploads for neoDraw drawings in the classic WP uploader.", "SVG-Uploads von neoDraw-Zeichnungen im klassischen WP-Upload aktivieren.") ?></p>
            </div>
            <div slot="right">
                <?php \NeoAnimateBeta\NeoGlobal\echo_switch_for_option("neo_draw__svg_upload_enabled", \NeoAnimateBeta\NeoGlobal\neo__("SVG uploads", "SVG-Uploads")) ?> 
            </div>
        </neo-setting-neo-animate-beta><?php
    };
    \NeoAnimateBeta\NeoGlobal\call_interface_func_implemented('\NeoAnimateBeta\NeoSettings\interface_add_neo_setting_20260326')("neo-draw", $settings_render_callback);
});
