We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 29d3fbb commit bf1f030Copy full SHA for bf1f030
sample/sections/extensions/js-button.php
@@ -22,8 +22,8 @@
22
'subtitle' => esc_html__( 'Run javascript in the options panel from button clicks.', 'your-textdomain-here' ),
23
'desc' => esc_html__( 'Click the Add Date button to add the current date into the text field below.', 'your-textdomain-here' ),
24
'script' => array(
25
- 'url' => plugins_url( 'sample/sections/extensions/js-button.js', REDUX_PLUGIN_FILE ),
26
- 'dir' => dirname( __FILE__ ) . '/js-button.js',
+ 'url' => plugins_url( '/extensions/js-button.js', __DIR__ ),
+ 'dir' => __DIR__ . '/js-button.js',
27
'dep' => array( 'jquery' ),
28
'ver' => time(),
29
'in_footer' => true,
0 commit comments