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





\NeoMotionBeta\NeoGlobal\add_action_hook("enqueue_block_editor_assets", function () {
    if (!\NeoMotionBeta\NeoGlobal\current_user_can__neo_draw()) { return; }
    draw_pagebuilder_init();
    \NeoMotionBeta\NeoGlobal\enqueue_js("neo-draw--pb-gutenberg-block.js", dependencies: ["wp-hooks", "wp-blocks", "wp-element", "wp-block-editor", "wp-components"]);
});
\NeoMotionBeta\NeoGlobal\add_action_hook("enqueue_block_assets", function () {
    if (!is_admin()) { return; }
    if (!\NeoMotionBeta\NeoGlobal\current_user_can__neo_draw()) { return; }
    
    
    \NeoMotionBeta\NeoGlobal\enqueue_css("neo-draw--pb-gutenberg-block.css");
});
