Skip to content
Advertisement

WordPress Plugin JS remove version

Hello I want to include my js file without adding ?ver=x.x.x to it I tried all the solutions but nothing help me to get the success

Here is my Code I am trying to add

JavaScript

Output it returns

JavaScript

Output I need

JavaScript

Advertisement

Answer

Version is set by 4th param, use NULL, more info at https://developer.wordpress.org/reference/functions/wp_enqueue_script/.

JavaScript
User contributions licensed under: CC BY-SA
7 People found this is helpful
Advertisement