To avoid internal conflicts with other JavaScript and jQuery libraries, the version of jQuery that comes bundled with WordPress is configured in the noconflict mode. This means that the $ shortcut that can normally be used to access jQuery will not be available. As such, all the examples found in this chapter spell out the jQuery keyword.
To regain access to this shortcut, you can use the following syntax in your code:
jQuery( document ).ready( function($) {
// $ shortcut is now available for this function
} );