Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

wordpress enqueue jquery

add_action('wp_enqueue_scripts', 'my_register_script_method');

function my_register_script_method () {
    wp_register_script( 'jqueryexample', 'https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js');
}
Source by developer.wordpress.org #
 
PREVIOUS NEXT
Tagged: #wordpress #enqueue #jquery
ADD COMMENT
Topic
Name
9+4 =