You can load jQuery library using wp_enqueue_script.
jQuery library is registered by default, and the handle is ‘jquery’.
for more info check: Handles and Their Script Paths Registered by WordPress and the list at the end of wp_enqueue_script
Note: it is jquery (not jQuery)
code:
wp_enqueue_script( 'jquery');
Related Posts:
- ajaxurl not defined on front end
- Why does WordPress use outdated jQuery v1.12.4?
- How to include jQuery and JavaScript files correctly?
- jQuery in header or footer
- Hook the Keydown Event in the TinyMCE Post Editor
- Add a jQuery function to admin pages
- How to Add a .js file Only in one specific Page Dynamically to Head
- What is the difference between these two methods of writing $ instead of jQuery in WordPress [closed]
- Can I individually style items in the backend widget list?
- Password field is empty when using wp_signon();
- WordPress custom taxonomy check box to dropdown
- WP Plugin Running before jQuery
- 400 Bad Request, in wordpress theme development, wp_ajax
- Ajax: Populate with content from a post’s ID not working – duplicating current page html instead
- Data not insert and update through ajax and jQuery in admin page?
- Using function from enqueued .js file in theme in plugin?
- jQuery UI tab does not work in the plugin page
- Get cat parameter from admin-ajax
- 400 Bad Request and illegal invocation in wp_ajax based on processData set to false or true
- How to get the value entered in the input field in wordpres
- How react js and other Javascript Technologies works on WordPress plugin?
- Render content after post title in wp-admin
- Are there any scripts, classes, and/or functions built-in to WP for a plugin to export/import its saved data from wp_options?
- Is there some way to provide the user a list of existing content in a CPT
- On cliking add new post redirect user to a custom page first
- Change the look and feel of admin pages
- Extending theme PHP class in plugin
- How to access noticeOperations from withNotices
- How to hook a custom user function to a wordpress core ajax action?
- Elementor custom Query with ACF fields to show matching woocommerce products custom fields
- how to search users by ajax live search
- WP Gutenberg Blocks – How to limit first/root blocks
- How to get boolean value from register_meta properly?
- What should happen when a WordPress Plugin is activated across the network (Network Wide Activation)
- what is the difference between these phares?
- Form doesnt save to database
- Notice: Trying to get property ‘term_id’ of non-object
- Prevent third party plugin’s admin page access based on user type
- How to add WordPress Admin “Insert Link” UI (searches through existing posts for URL) and functionality into a custom plugin?
- Is it possible to restrict all admin pages except theme customisation and storefront using plugin?
- What is the proper method of using global $post?
- jQuery selectors for editor elements safe to use?
- Display WordPress the_content() via data attributes
- How developed with version control word press site on shared host? [closed]
- Admin – Handle data before creating or updating a post, page or custom post
- wp_filesystem put_contents issue with owner/group
- How to export post meta with images in wordpress
- javascript datatables in a plugin
- How can I replace content in the WP Admin area before an admin page is rendered?
- How to change title tag at page after loaded post?
- Following WordPress Markup Is mandatory, got awkward resultyby wordpress standard markup?
- How do I create plugin or theme using MVC pattern?
- How to limit number of number of categories displayed by categories widget
- Using ReactJS in the WordPress admin for plugin development
- PowerPress mobile media player
- When is the proper time to minify css and js with git workflow?
- Strange Situation When Try To Retrieve Github Gist Using wp_remote_get
- How to hide or rename “X” and “x-child” references in website source?
- template_redirect or admin-ajax.php?
- Creating Admin Plugin – Content of a page is displayed at global scope as well
- How to Get Current Custom Post Type Associated Taxonomy Term
- Hide shortcodes “code” when using the “editor” the same as wordpress do with “gallery”
- How to load library scripts in admin from plugins in noConflict wrapper?
- Show error message after exception handled
- Plugin templates vs Parent Theme
- Selectively update themes in WordPress multisite
- jQuery does not enqueue for my purpose… (before an inline script in the footer)
- Widget HTML Display Problem
- Issue with contextual help overwriting existing content
- How to create a backend for a custom theme?
- Plugin – Make sure jquery is loaded in my settings page plus my JS file
- wp_nonce_field displaying twice
- Enqueue script globally
- jQuery in WordPress Plugin
- Alternatives to DISALLOW_FILE_EDIT wp-config Constant? It Breaks Some Plugins
- Warning: include(): https:// wrapper is disabled in the server configuration by allow_url_include=0
- How do I add a favicon that only shows during viewing of my plugin’s admin panel?
- Plugin is not generating title tags on any pages or posts
- Is it necessary to do validation again when retrieving data from database?
- How to Control CSS of Admin On Creating only a Specific Custom Post Type
- Can’t change the style of a submit input type? [closed]
- Make a plugin page out of influence of the theme’s style
- How do I link to a php file in my plugin directory?
- Update Data parameter of a wp_localize_script() call
- Custom entity search and display
- Template directory in plugin
- WordPress Admin Login Custom Logo
- jquery & ajax sending data to php
- should i be checking for jquery before enqueing it in a plugin
- get_the_tags with separator control?
- How to only load css for used blocks on frontend
- How to create custom settings page for custom plugin
- jQuery instantly executes (a button click and css change) on load
- How to include jQuery into my plugin so I can use it on plugin page?
- How to import the css in the plugin admin area?
- Ajax submit result opens in admin-ajax.php
- Add child pages to submenu automatically
- Creating multiple wp_editer() text fields in for loop — the text/visual switch only works for first editor
- Displaying “One Time” Notification in Plugins
- how to get the post id in plugin