Skip to content

Instantly share code, notes, and snippets.

@codersaiful
Created June 15, 2023 09:41
Show Gist options
  • Save codersaiful/2926cb51e6b4e0b0fbcafc599264afed to your computer and use it in GitHub Desktop.
Save codersaiful/2926cb51e6b4e0b0fbcafc599264afed to your computer and use it in GitHub Desktop.
<?php
//Athis this code inside your theme's functions.php file.
add_action('wp_footer',function(){
?>
<script>
jQuery(function($){
'use strict';
$(document).ready(function($){
$('button.button.wpt-search-products').attr('id','saiful');
});
});
</script>
<?php
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment