九月 1, 2022 • 沒有評論 WordPress Do WP_Query via Custom Ajax Function

<?php // functions.php function do_wp_query_via_ajax(){ //ini_set('display_errors', 1); //ini_set('display_startup_errors', 1); //error_reporting(E_ALL); // Endpoint: /wp-admin/admin-ajax.php?action=do_wp_query_via_ajax…

閱讀內文
五月 26, 2022 • 沒有評論 Javascript Plugin Starter Template

Javascript File // plugin.js function GoogleSearchMePlugin(options) { let defaultOptions = { base_url: "https://www.google.com/?q=", keyword: "imnobby",...

閱讀內文
五月 25, 2022 • 沒有評論 Javascript Random Key Generator

function js_random_key_generator(length) { var result = ''; var characters = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789'; var charactersLength = characters.length;...

閱讀內文