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





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


\NeoMotionBeta\NeoGlobal\add_action_hook("neo_init", function () {
    $settings_render_callback = function () {
        ?><neo-setting-neo-motion-beta>
            <div slot="left">
                <h3><?php \NeoMotionBeta\NeoGlobal\echo_neo__("SVG uploads", "SVG-Uploads") ?></h3>
                <p><?php \NeoMotionBeta\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 \NeoMotionBeta\NeoGlobal\echo_switch_for_option("neo_draw__svg_upload_enabled", \NeoMotionBeta\NeoGlobal\neo__("SVG uploads", "SVG-Uploads")) ?> 
            </div>
        </neo-setting-neo-motion-beta><?php
    };
    \NeoMotionBeta\NeoGlobal\call_interface_func_implemented('\NeoMotionBeta\NeoSettings\interface_add_neo_setting_20260326')("neo-draw", $settings_render_callback);
});
