function enqueue_superflow() { wp_enqueue_script('superflow'); // Add apiKey as a window-level variable add_action('wp_footer', 'add_superflow_api_key_script'); function add_superflow_api_key_script() { $apiKey = 'syh7w55LM2dURAgOHUe1'; echo ''; } // Register the script wp_register_script('superflow', 'https://cdn.jsdelivr.net/npm/@snippyly/plugin/snippyly.min.js', array(), null, true); // Add 'type' attribute with value 'module' to the script tag add_filter('script_loader_tag', 'add_superflow_script', 10, 3); function add_superflow_script($tag, $handle, $src) { if ('superflow' === $handle) { $tag = ''; } return $tag; } // Enqueue the registered script wp_enqueue_script('superflow'); } add_action('wp_enqueue_scripts', 'enqueue_superflow'); Diane Hughes – Chana

Diane Hughes

Chanaka Fernando is one of the most talented, knowledgeable, and experienced people we have ever had the wonderful opportunity of working for us. His commitment to a project and seeing it through to completion with true excellence of quality is unparalleled. Chanaka Fernando constantly seeks to improve his technical and creative skills in a wide range of technical and creative subjects, as well as far broader commercial business knowledge such as economics.