Wordpress/wp-admin/js/site-search.dev.js

8 lines
156 B
JavaScript
Raw Normal View History

jQuery( function($) {
$( '#site-search-input' ).autocomplete({
source: ajaxurl + '?action=autocomplete-site',
delay: 500,
minLength: 2
});
});