Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

wordpress use jquery in plugin

wp_register_script( 'my_plugin_script', plugins_url('/my_plugin.js', __FILE__), array('jquery'));
wp_enqueue_script( 'my_plugin_script' );
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #wordpress #jquery #plugin
ADD COMMENT
Topic
Name
4+3 =