Fixed missing include

This commit is contained in:
Claudio Sanches 2020-09-17 13:12:57 -03:00
parent fefc6193be
commit f4e9fcc1a4
1 changed files with 1 additions and 1 deletions

View File

@ -82,7 +82,7 @@ class WC_Settings_Tax extends WC_Settings_Page {
$settings = array();
if ( '' === $current_section ) {
$settings = __DIR__ . '/views/settings-tax.php';
$settings = include __DIR__ . '/views/settings-tax.php';
}
return apply_filters( 'woocommerce_get_settings_' . $this->id, $settings, $current_section );
}