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.
2 parents 55d86d4 + ce5697d commit 5c26abdCopy full SHA for 5c26abd
woocommerce-delivery-notes/includes/class-woocommerce-delivery-notes.php
@@ -149,7 +149,7 @@ public function init_hooks() {
149
* Define WC Constants.
150
*/
151
private function define_constants() {
152
- self::$plugin_basefile_path = dirname( __FILE__, 2 ) . '/woocommerce-delivery-notes.php';
+ self::$plugin_basefile_path = dirname( dirname( __FILE__ ) ) . '/woocommerce-delivery-notes.php';
153
self::$plugin_basefile = plugin_basename( self::$plugin_basefile_path );
154
self::$plugin_url = plugin_dir_url( self::$plugin_basefile );
155
self::$plugin_path = trailingslashit( dirname( self::$plugin_basefile_path ) );
0 commit comments