Skip to content

Commit eeef56f

Browse files
committed
Fix typo
1 parent 96079f0 commit eeef56f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Modules/Config.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ public static function shortcodeParagraphFix(string $content): string
6666
/**
6767
* Hide any admin menu.
6868
*/
69-
public static function hideAdmminMenu(): void
69+
public static function hideAdminMenu(): void
7070
{
7171
remove_submenu_page('themes.php', 'site-editor.php'); // Pattern page
7272
}
@@ -92,7 +92,7 @@ public function boot(): void
9292
add_filter('the_content', [static::class, 'shortcodeParagraphFix']);
9393
add_filter('acf_the_content', [static::class, 'shortcodeParagraphFix'], 11);
9494
remove_filter('term_description', 'wpautop');
95-
add_action('admin_menu', [static::class, 'hideAdmminMenu']);
95+
add_action('admin_menu', [static::class, 'hideAdminMenu']);
9696
add_filter('acf_the_content', [static::class, 'acfContent'], 5);
9797
}
9898
}

0 commit comments

Comments
 (0)