Can someone explain the version argument in wp_register_script()? According to the codex it is added to the URL as a query string for cache busting purposes.
It also says if the $ver argument is set to null, no version is added and if false, the currently installed version of WordPress is added.
How do I set the $ver argument to null? I thought I had in the code I'm using below but it's adding the currently installed WordPress version as the version number.
function add_ajax_script() {
wp_register_script('ajax-implementation', '/wp-content/themes/codilight-child/scripts/ajax-implementation.js', array('jquery'), '', false);
wp_enqueue_script('ajax-implementation');
}
add_action( 'wp_enqueue_scripts', 'add_ajax_script' );