Tag Archives: php

WordPress: export JS from php
Prepare the data in functions.php // functions.php wp_localize_script( 'main_js', // name of script name 'theData', // name of the object we want to output [...]
WordPress REST API with Read and Post Examples
Main Resources WP REST API REST API Handbook Nonce Nonce tips and tricks The WordPress REST API provides API endpoints for WordPress data types that allow [...]
Install LAMP server and phpmyadmin on Ubuntu
Install Lamp server sudo apt-get install lamp-server^ http://localhost/ or http://127.0.0.1/ Restart server sudo /etc/init.d/apache2 restart Install [...]
Fast charlist
FAST_CHARLIST = ' etaonisrhldcupfmwybgvkqxjzETAONISRHLDCUPFMWYBGVKQXJZ,.!'