get_option('aspose_pdf_importer_app_sid'), 'appKey' => get_option('aspose_pdf_importer_app_key'), 'uploadpath' => $upload_path['path'], 'insert_pdf_url' => plugins_url( 'getAsposePdfContent.php', __FILE__ ), 'aspose_files_url' => plugins_url( 'getAsposeFiles.php', __FILE__ ), ); wp_localize_script( 'aspose_pdf_importer_script', 'AsposeParams', $params ); wp_enqueue_script( 'jquery-ui-dialog' ); wp_enqueue_script( 'jquery-ui-tabs' ); wp_enqueue_script( 'aspose_pdf_importer_script' ); wp_register_style( 'AsposePdfImporterStyle', plugins_url( 'css/style.css', __FILE__), array(), '' ); wp_enqueue_style( 'AsposePdfImporterStyle'); wp_enqueue_style( 'jquery-ui-tabs'); wp_enqueue_style( 'wp-jquery-ui-dialog'); } add_action('init', 'AsposePdfImporterEnqueueScripts'); /** * Pluing settings page * @param no-param * @return no-return */ function AsposePdfImporterAdminContent() { // Creating the admin configuration interface ?>