Skip to content

Commit

Permalink
Update Data.php
Browse files Browse the repository at this point in the history
  • Loading branch information
Yashita committed Sep 8, 2022
1 parent 38eda44 commit 2fc2640
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion includes/Data/Data.php
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ public static function current_brand() {
if ( empty( $brand ) ) {
$brand = 'newfold';
}
$brand = \apply_filters( 'nfd_module_onboarding_brand', _wp_to_kebab_case(strtolower( $brand )) );
$brand = \apply_filters( 'nfd_module_onboarding_brand', sanitize_title_with_dashes( str_replace('_', '-', $brand) ) );

$brands = Brands::get_brands();

Expand Down

0 comments on commit 2fc2640

Please sign in to comment.