Skip to content

Instantly share code, notes, and snippets.

View Hector1567XD's full-sized avatar
😁
Hehehe, I'm going to conquer the world with fun code!

Feredev Hector1567XD

😁
Hehehe, I'm going to conquer the world with fun code!
View GitHub Profile
@jaredatch
jaredatch / functions.php
Last active August 7, 2024 15:24
WordPress Search Autocomplete using WP REST API v2
<?php
/**
* Enqueue scripts and styles.
*
* @since 1.0.0
*/
function ja_global_enqueues() {
wp_enqueue_style(
'jquery-auto-complete',
@andrewstobbe
andrewstobbe / RestClient.php
Last active November 23, 2022 21:12
PHP RestClient
<?php
/**
* Class RestClient
*/
class RestClient
{
private $curl;
private $url;