test

function custom_rename_button_script() {
?>
<script>
document.addEventListener(“DOMContentLoaded”, function() {
var button = document.querySelector(‘.hp-menu__item–listing-submit > span’);
if(button) {
button.textContent = “List Your Tools”;
}
});
</script>
<?php
}
add_action(‘wp_footer’, ‘custom_rename_button_script’);