File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff 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}
You can’t perform that action at this time.
0 commit comments