Skip to content

Commit

Permalink
Update class-ttveditor-scripts.php
Browse files Browse the repository at this point in the history
  • Loading branch information
rmens committed Oct 26, 2024
1 parent f56296d commit 0c6cc4b
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions includes/class-ttveditor-scripts.php
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
<?php
namespace ZuidWest\TekstTVEditor;

use const ZW_TTVEDITOR_PLUGIN_URL;

if (!defined('ABSPATH')) {
exit; // Exit if accessed directly
}
Expand Down Expand Up @@ -39,7 +37,7 @@ public function enqueue_scripts($hook_suffix)
// Enqueue JavaScript file
wp_enqueue_script(
'ttveditor-script',
ZW_TTVEDITOR_PLUGIN_URL . 'assets/js/ttveditor.js',
plugins_url('assets/js/ttveditor.js', __FILE__),
array(),
'1.0',
true
Expand Down

0 comments on commit 0c6cc4b

Please sign in to comment.