Answers for "wordpress use jquery in plugin"

PHP
0

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' );
Posted by: Guest on March-07-2021

Browse Popular Code Answers by Language