mirror of
https://github.com/WordPress/five-for-the-future.git
synced 2025-07-04 18:05:45 +03:00
Run phpcs code formatter
This commit is contained in:
parent
37b7e4451a
commit
f412bc8fba
4 changed files with 12 additions and 12 deletions
|
@ -85,8 +85,8 @@ function use_archive_template( $templates ) {
|
|||
function add_body_class( $classes ) {
|
||||
global $wp;
|
||||
// Get the main menu using the hooked function.
|
||||
$menus = Block_Config\add_site_navigation_menus( [] );
|
||||
$slug = $wp->request;
|
||||
$menus = Block_Config\add_site_navigation_menus( [] );
|
||||
$slug = $wp->request;
|
||||
$has_page = array_filter(
|
||||
$menus['main'],
|
||||
function ( $item ) use ( $slug ) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue