
If I were to mention to a casual WordPress user something about the WordPress Heartbeat API, most would have never even heard of it, much less know that it’s been in WordPress since version 3.6(!) with very little fanfare. But, as it turns out, the Heartbeat API has gained traction in the developer community, as…

<script type=”text/javascript”>function initMenus() { $(‘ul#accordion li ul’).hide(); $.each($(‘ul#accordion’), function(){ $(‘#’ + this.id + ‘.expandfirst ul:first’).show(); }); $(‘ul#accordion li h2.widgettitle’).click( function() { var checkElement = $(this).next(); var parent = this.parentNode.parentNode.id; if($(‘#’ + parent).hasClass(‘noaccordion’)) { $(this).next().slideToggle(‘normal’); return false; } if((checkElement.is(‘ul’)) && (checkElement.is(‘:visible’))) { if($(‘#’ + parent).hasClass(‘collapsible’)) { $(‘#’ + parent + ‘ ul:visible’).slideUp(‘normal’); } return false; …