' . '

WebP Express Conversion Browser

' . ''; echo '
loading
'; //include WEBPEXPRESS_PLUGIN_DIR . '/lib/options/page.php'; /* require_once __DIR__ . "/../../vendor/autoload.php"; // print_r(WebPConvert::getConverterOptionDefinitions('png', false, true)); echo '
' .
            print_r(
                json_encode(
                    WebPConvert::getConverterOptionDefinitions('png', false, true),
                    JSON_PRETTY_PRINT
                ),
                true
            ) . '
';*/ } /* We add directly to head instead, to get the type="module" public static function enqueueScripts() { $ver = '0'; wp_register_script('wcfileman', plugins_url('js/wcfm/index.js', WEBPEXPRESS_PLUGIN), [], $ver); wp_enqueue_script('wcfileman'); }*/ public static function addToHead() { $baseUrl = plugins_url('lib/wcfm', WEBPEXPRESS_PLUGIN); //$url = plugins_url('js/conversion-manager/index.be5d792e.js ', WEBPEXPRESS_PLUGIN); $wcfmNonce = wp_create_nonce('webpexpress-wcfm-nonce'); echo 'window.webpExpressWCFMNonce = "' . $wcfmNonce . '";'; echo ''; //echo ''; echo ''; echo ''; } }