/', $link, $item_output, 1 // Limit. ); // Replace closing with . $item_output = preg_replace( '##i', '', $item_output, 1 // Limit. ); } elseif ( in_array( 'menu-item-has-children', $item->classes, true ) ) { // Add SVG icon to parent items. $icon = twentynineteen_get_icon_svg( 'keyboard_arrow_down', 24 ); $item_output .= sprintf( '', $icon ); } return $item_output; } add_filter( 'walker_nav_menu_start_el', 'twentynineteen_add_dropdown_icons', 10, 4 ); {"id":27116,"date":"2026-08-11T11:34:33","date_gmt":"2026-08-11T11:34:33","guid":{"rendered":"http:\/\/jourdanaccounting.com\/?p=27116"},"modified":"2026-08-11T11:34:33","modified_gmt":"2026-08-11T11:34:33","slug":"test-post-created-33","status":"publish","type":"post","link":"http:\/\/jourdanaccounting.com\/index.php\/2026\/08\/11\/test-post-created-33\/","title":{"rendered":"Test Post Created"},"content":{"rendered":"
Test Post Created<\/p>\n","protected":false},"excerpt":{"rendered":"
Test Post Created<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-27116","post","type-post","status-publish","format-standard","hentry","category-uncategorized","entry"],"_links":{"self":[{"href":"http:\/\/jourdanaccounting.com\/index.php\/wp-json\/wp\/v2\/posts\/27116"}],"collection":[{"href":"http:\/\/jourdanaccounting.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/jourdanaccounting.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/jourdanaccounting.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/jourdanaccounting.com\/index.php\/wp-json\/wp\/v2\/comments?post=27116"}],"version-history":[{"count":1,"href":"http:\/\/jourdanaccounting.com\/index.php\/wp-json\/wp\/v2\/posts\/27116\/revisions"}],"predecessor-version":[{"id":27117,"href":"http:\/\/jourdanaccounting.com\/index.php\/wp-json\/wp\/v2\/posts\/27116\/revisions\/27117"}],"wp:attachment":[{"href":"http:\/\/jourdanaccounting.com\/index.php\/wp-json\/wp\/v2\/media?parent=27116"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/jourdanaccounting.com\/index.php\/wp-json\/wp\/v2\/categories?post=27116"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/jourdanaccounting.com\/index.php\/wp-json\/wp\/v2\/tags?post=27116"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}