Agregue JavaScript a las funciones de WordPress PHP

<script type='text/javascript' id='heartbeat-js-extra'>

var heartbeatSettings = {"ajaxurl":"\/wp-admin\/admin-ajax.php","nonce":"a7bd12a794"};

</script>
BeYouself Games