Skip to content

Commit

Permalink
Update woocommerce/class-sv-wc-helper.php
Browse files Browse the repository at this point in the history
Co-authored-by: Drew Jaynes <[email protected]>
  • Loading branch information
nmolham-godaddy and ajaynes-godaddy authored Oct 1, 2024
1 parent 240797c commit abb938a
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions woocommerce/class-sv-wc-helper.php
Original file line number Diff line number Diff line change
Expand Up @@ -1071,6 +1071,13 @@ protected static function isEnhancedNavigationFeatureEnabled() : bool
\Automattic\WooCommerce\Admin\Features\Features::is_enabled('navigation');
}

/**
* Logs a notice for the Enhanced Navigation feature being deprecated.
*
* @since 5.15.1
*
* @return void
*/
protected static function enhancedNavigationDeprecationNotice() : void
{
error_log('The Enhanced navigation feature has been deprecated since WooCommerce 9.3 with no alternative. Navigation classes will be removed in WooCommerce 9.4');
Expand Down

0 comments on commit abb938a

Please sign in to comment.