Vue + Firebase + Auth Demo
A simple App using Vue.js & Firebase with Auth.
See the DEMO.
<?php | |
/** | |
* Plugin Name: Convert ACF PHP to JSON | |
* Description: Convert Advanced Custom Fields Pro configuration from PHP to JSON. | |
*/ | |
namespace ConvertAcfPhpToJson; | |
/** | |
* Add submenu item under 'Custom Fields' |
import Vue from 'vue' | |
import {DataStore, Record} from 'js-data' | |
// define a base class that enables property-level vue reactivity. | |
export class VueReactiveRecord extends Record { | |
constructor (...args) { | |
// among other things, this will apply js-data schema if configured to do so; be sure to do `track: true` | |
super(...args) | |
<?php | |
// Define a constant to use with html emails | |
define("HTML_EMAIL_HEADERS", array('Content-Type: text/html; charset=UTF-8')); | |
// @email - Email address of the reciever | |
// @subject - Subject of the email | |
// @heading - Heading to place inside of the woocommerce template | |
// @message - Body content (can be HTML) | |
function send_email_woocommerce_style($email, $subject, $heading, $message) { |
A simple App using Vue.js & Firebase with Auth.
See the DEMO.