Complex expressions

Here is the list of the most complex expressions used in the code. A complex expression is an expression that requires more than 20 tokens to be build.

Literal arrays are omitted.

File Count Expression
/template-parts/content/content-page.php:282wp_link_pages(array('before' => '<div class="page-links"><span class="page-links-title">' __('Pages:''theme') . '</span>''after' => '</div>''link_before' => '<span>''link_after' => '</span>''pagelink' => '<span class="screen-reader-text">' __('Page''theme') . ' </span>%''separator' => '<span class="screen-reader-text">, </span>',  ))
/inc/template-tags.php:2291the_posts_pagination(array('prev_text' => sprintf('%s <span class="nav-prev-text">%s</span>'theme_get_icon_svg('arrow_back'18), __('Previous page''theme')), 'next_text' => sprintf('%s <span class="nav-prev-text">%s</span>'theme_get_icon_svg('arrow_forward'18), __('Next page''theme'),  ), 'before_page_number' => '<span class="meta-nav screen-reader-text">' __('Page''theme') . ' </span>',  ))
/template-parts/content/content.php:462wp_link_pages(array('before' => '<div class="page-links"><span class="page-links-title">' __('Pages:''theme') . '</span>''after' => '</div>''link_before' => '<span>''link_after' => '</span>''pagelink' => '<span class="screen-reader-text">' __('Page''theme') . ' </span>%''separator' => '<span class="screen-reader-text">, </span>',  ))
/functions.php:2111register_sidebar(array('name' => sprintf(__('Footer %d''theme'), $i), 'id' => 'footer-' $i'description' => sprintf(__('Add widgets here to appear in your footer %d.''theme'), $i), 'before_widget' => '<aside id="%1$s" class="widget %2$s">''after_widget' => '</aside>''before_title' => '<h2 class="widget-title">''after_title' => '</h2>',  ))
/single.php:291the_post_navigation(array('next_text' => '<span class="meta-nav" aria-hidden="true">' __('Next''theme') . '</span>' '<span class="screen-reader-text">' __('Next post:''theme') . '</span>' '<span class="post-title">%title</span>''prev_text' => '<span class="meta-nav" aria-hidden="true">' __('Previous''theme') . '</span>' '<span class="screen-reader-text">' __('Previous post:''theme') . '</span>' '<span class="post-title">%title</span>',  ))
/functions.php:1201apply_filters('theme_editor_color_palette_args', array(array('name' => __('Black''theme'), 'slug' => 'black''color' => '#111111',  ), array('name' => __('Medium Gray''theme'), 'slug' => 'medium-gray''color' => '#999999',  ), array('name' => __('Light Gray''theme'), 'slug' => 'light-gray''color' => '#bbbbbb',  ), array('name' => __('White''theme'), 'slug' => 'white''color' => '#ffffff',  ),  ))
/functions.php:1971register_sidebar(array('name' => sprintf(__('Top Bar %d''theme'), $i), 'id' => 'top-' $i'description' => sprintf(__('Add widgets here to appear in your top %d.''theme'), $i), 'before_widget' => '<aside id="%1$s" class="widget %2$s">''after_widget' => '</aside>''before_title' => '<h2 class="widget-title">''after_title' => '</h2>',  ))
/functions.php:1191add_theme_support('editor-color-palette'apply_filters('theme_editor_color_palette_args', array(array('name' => __('Black''theme'), 'slug' => 'black''color' => '#111111',  ), array('name' => __('Medium Gray''theme'), 'slug' => 'medium-gray''color' => '#999999',  ), array('name' => __('Light Gray''theme'), 'slug' => 'light-gray''color' => '#bbbbbb',  ), array('name' => __('White''theme'), 'slug' => 'white''color' => '#ffffff',  ),  )))
/inc/customizer.php:10481$css = <<<CSS

    body {
        background-color: 
{$colors['content_background_color']};
    }

    a,
    a:focus {
        color: 
{$colors['content_link_color']};
    }

    a:not(.wp-block-button__link):hover {
        color: 
{$colors['content_link_hover_color']};
    }

    h1, h2, h3, h4, h5, h6,
    h1 a, h2 a, h3 a, h4 a, h5 a, h6 a,
    .entry-title,
    .entry-title a,
    .entry-title a:hover,
    .entry-title a:focus,
    .page-title,
    .sidebar .widget-title {
        color: 
{$colors['content_heading_color']};
    }

    label,
    .entry-meta,
    .entry-meta a,
    .entry-meta a:hover,
    .entry-meta a:focus,
    .entry-footer,
    .entry-footer a,
    .entry-footer a:hover,
    .entry-footer a:focus,
    .wp-caption-text,
    .gallery-caption,
    .pagination .prev,
    .pagination .next,
    .pagination .page-numbers,
    .pagination .page-numbers:hover,
    .pagination .page-numbers:focus,
    .post-navigation a,
    .post-navigation a:hover,
    .post-navigation a:focus,
    .comment-form a,
    .comment-form a:hover,
    .comment-form a:focus,
    .comment-navigation a,
    .comment-navigation a:hover,
    .comment-navigation a:focus,
    .comment-metadata a,
    .comment-metadata a:hover,
    .comment-metadata a:focus,
    .comment-list .reply a,
    .comment-list .reply a:hover,
    .comment-list .reply a:focus,
    .comment-reply-title a,
    .comment-reply-title a:hover,
    .comment-reply-title a:focus,
    .comment-author,
    .comment-notes,
    .comment-awaiting-moderation,
    .logged-in-as,
    .pingback .edit-link a,
    .pingback .edit-link a:hover,
    .pingback .edit-link a:focus {
        color: 
{$colors['content_secondary_text_color']};
    }

    ::selection {
        background: 
{$colors['content_link_color']};
    }

    body,
    blockquote cite,
    blockquote small,
    .pagination .page-numbers.current {
        color: 
{$colors['content_text_color']};
    }

    hr {
        background-color: 
{$colors['border_color']};
    }

    blockquote {
        border-color: 
{$colors['content_secondary_text_color']};
        color: 
{$colors['content_secondary_text_color']};
    }

    pre,
    abbr[title],
    table,
    th,
    td,
    input,
    select,
    textarea,
    .select2-container .select2-selection--single {
        border-color: 
{$colors['border_color']};
    }

    input:focus,
    select:focus,
    textarea:focus {
        border-color: 
{$colors['border_focus_color']};
    }

    button,
    a.button,
    input[type="button"],
    input[type="reset"],
    input[type="submit"] {
        background-color: 
{$colors['button_background_color']};
        border-color: 
{$colors['button_background_color']};
        color: 
{$colors['button_text_color']};
    }

    a.button:hover,
    a.button:focus,
    button:hover:enabled,
    button:focus:enabled,
    input[type="button"]:hover:enabled,
    input[type="button"]:focus:enabled,
    input[type="reset"]:hover:enabled,
    input[type="reset"]:focus:enabled,
    input[type="submit"]:hover:enabled,
    input[type="submit"]:focus:enabled {
        background-color: 
{$colors['button_background_hover_color']};
        border-color: 
{$colors['button_background_hover_color']};
        color: 
{$colors['button_text_hover_color']};
    }

    .menu-toggle {
        background-color: transparent;
        border-color: 
{$colors['header_secondary_text_color']};
        color: 
{$colors['header_text_color']};
    }

    .menu-toggle:hover:enabled,
    .menu-toggle:focus:enabled {
        background-color: transparent;
        border-color: 
{$colors['header_text_color']};
        color: 
{$colors['header_text_color']};
    }

    .site-header {
        background-color: 
{$colors['header_background_color']};
    }
    
    .site-header a {
        color: 
{$colors['header_link_color']};
    }

    .site-header a.button {
        color: 
{$colors['button_text_color']};
    }

    .site-title a,
    .site-title a:hover,
    .site-title a:focus {
        color: 
{$colors['header_text_color']};
    }

    .site-description {
        color: 
{$colors['header_text_color']};
    }

    .main-navigation ul {
        background-color: 
{$colors['menu_background_color']};
    }
    
    .main-navigation a {
        color: 
{$colors['menu_color']};
    }

    .main-navigation li:not(.current-menu-item):not(.current-menu-parent):not(.current-menu-ancestor):hover > a {
        color: 
{$colors['menu_hover_color']};
        background-color: 
{$colors['menu_background_hover_color']};
    }
    
    .main-navigation .current-menu-item > a,
    .main-navigation .current-menu-parent > a,
    .main-navigation .current-menu-ancestor > a {
        color: 
{$colors['menu_active_color']};
        background-color: 
{$colors['menu_background_active_color']};
    }
    
    .main-navigation ul ul {
        background-color: 
{$colors['submenu_background_color']};
    }

    .site-header-cart .widget_shopping_cart {
        background-color: 
{$colors['header_background_color']};
        border-color: 
{$colors['border_color']};
    }

    .main-navigation ul ul a {
        color: 
{$colors['submenu_text_color']};
    }

    .dropdown-toggle svg {
        color: 
{$colors['menu_color']};
    }

    .social-navigation ul li a {
        color: 
{$colors['header_link_color']};
    }
    
    .social-navigation ul li a:hover {
        color: 
{$colors['header_link_hover_color']};
    }

    .social-navigation ul li.dark a svg {
        color: 
{$colors['header_background_color']};
        background-color: 
{$colors['header_link_color']};
    }
    
    .social-navigation ul li.dark a:hover svg {
        color: 
{$colors['header_background_color']};
        background-color: 
{$colors['header_link_hover_color']};
    }

    .topbar {
        background-color: 
{$colors['top_background_color']};
        color: 
{$colors['top_text_color']};
    }

    .topbar .widget-title {
        color: 
{$colors['top_text_color']};
    }

    .topbar a {
        color: 
{$colors['top_link_color']};
    }

    .topbar a:hover,
    .topbar a:focus {
        color: 
{$colors['top_link_hover_color']};
    }

    .grid-post-thumbnail .overlay {
        background-color: 
{$colors['content_link_hover_color']};
    }

    .widget_calendar tbody a {
        color: 
{$colors['content_background_color']};
    }

    .widget_calendar tbody a {
        background-color: 
{$colors['content_text_color']};
    }

    .widget_calendar tbody a:hover,
    .widget_calendar tbody a:focus {
        background-color: 
{$colors['content_secondary_text_color']};
    }

    .widget_calendar tfoot a {
        color: 
{$colors['content_text_color']};
    }

    .site-footer {
        background-color: 
{$colors['footer_background_color']};
        color: 
{$colors['footer_text_color']};
    }

    .site-footer .widget-title {
        color: 
{$colors['footer_heading_color']};
    }

    .site-footer a {
        color: 
{$colors['footer_link_color']};
    }

    .site-footer a:hover,
    .site-footer a:focus {
        color: 
{$colors['footer_link_hover_color']};
    }

CSS
/inc/customizer.php:8941$colors = array('content_background_color' => maybe_hash_hex_color(get_theme_mod('content_background_color''#ffffff')), 'content_text_color' => get_theme_mod('content_text_color''#111111'), 'content_secondary_text_color' => vsprintf('rgba(%1$s, %2$s, %3$s, 0.7)'$content_text_color_rgb), 'content_heading_color' => get_theme_mod('content_heading_color''#111111'), 'content_link_color' => get_theme_mod('content_link_color''#999999'), 'content_link_hover_color' => get_theme_mod('content_link_hover_color''#bbbbbb'), 'border_color' => vsprintf('rgba(%1$s, %2$s, %3$s, 0.2)'$content_text_color_rgb), 'border_focus_color' => vsprintf('rgba(%1$s, %2$s, %3$s, 0.5)'$content_text_color_rgb), 'button_background_color' => get_theme_mod('button_background_color''#999999'), 'button_background_hover_color' => get_theme_mod('button_background_hover_color''#bbbbbb'), 'button_text_color' => get_theme_mod('button_text_color''#ffffff'), 'button_text_hover_color' => get_theme_mod('button_text_hover_color''#ffffff'), 'header_background_color' => get_theme_mod('header_background_color''#ffffff'), 'header_text_color' => get_theme_mod('header_text_color''#111111'), 'header_secondary_text_color' => vsprintf('rgba(%1$s, %2$s, %3$s, 0.3)'$header_text_color_rgb), 'header_link_color' => get_theme_mod('header_link_color''#111111'), 'header_link_hover_color' => get_theme_mod('header_link_hover_color''#999999'), 'menu_background_color' => get_theme_mod('menu_background_color''rgba(255, 255, 255, 0)'), 'menu_color' => get_theme_mod('menu_color''#111111'), 'menu_background_hover_color' => get_theme_mod('menu_background_hover_color''rgba(255, 255, 255, 0)'), 'menu_hover_color' => get_theme_mod('menu_hover_color''#999999'), 'menu_background_active_color' => get_theme_mod('menu_background_active_color''rgba(255, 255, 255, 0)'), 'menu_active_color' => get_theme_mod('menu_active_color''#999999'), 'submenu_text_color' => get_theme_mod('submenu_text_color''#111111'), 'submenu_background_color' => get_theme_mod('submenu_background_color''#dddddd'), 'top_background_color' => get_theme_mod('top_background_color''#ffffff'), 'top_text_color' => get_theme_mod('top_text_color''#111111'), 'top_link_color' => get_theme_mod('top_link_color''#999999'), 'top_link_hover_color' => get_theme_mod('top_link_hover_color''#bbbbbb'), 'footer_background_color' => get_theme_mod('footer_background_color''#ffffff'), 'footer_text_color' => get_theme_mod('footer_text_color''#111111'), 'footer_heading_color' => get_theme_mod('footer_heading_color''#111111'), 'footer_link_color' => get_theme_mod('footer_link_color''#111111'), 'footer_link_hover_color' => get_theme_mod('footer_link_hover_color''#999999'),  )
/inc/customizer.php:10111$colors wp_parse_args($colors, array('content_background_color' => '''content_text_color' => '''content_secondary_text_color' => '''content_heading_color' => '''content_link_color' => '''content_link_hover_color' => '''border_color' => '''border_focus_color' => '''button_background_color' => '''button_background_hover_color' => '''button_text_color' => '''button_text_hover_color' => '''header_background_color' => '''header_text_color' => '''header_secondary_text_color' => '''header_link_color' => '''header_link_hover_color' => '''menu_background_color' => '''menu_color' => '''menu_background_hover_color' => '''menu_hover_color' => '''menu_background_active_color' => '''menu_active_color' => '''submenu_text_color' => '''submenu_background_color' => '''top_background_color' => '''top_text_color' => '''top_link_color' => '''top_link_hover_color' => '''footer_background_color' => '''footer_text_color' => '''footer_heading_color' => '''footer_link_color' => '''footer_link_hover_color' => '',  ))