This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// context check: if this is an rsvpmaker template, this will have be available as localized data from PHP | |
if((typeof rsvpmaker_json !== 'undefined' ) && rsvpmaker_json.projected_url) { | |
let wasSavingPost = wp.data.select( 'core/editor' ).isSavingPost(); | |
let wasAutosavingPost = wp.data.select( 'core/editor' ).isAutosavingPost(); | |
let wasPreviewingPost = wp.data.select( 'core/editor' ).isPreviewingPost(); | |
// determine whether to show notice | |
subscribe( () => { | |
const isSavingPost = wp.data.select( 'core/editor' ).isSavingPost(); | |
const isAutosavingPost = wp.data.select( 'core/editor' ).isAutosavingPost(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Recursively takes the specified criteria and adds too the expression. | |
* | |
* The criteria is defined in an array notation where each item in the list | |
* represents a comparison <fieldName, operator, value>. The operator maps to | |
* comparison methods located in ExpressionBuilder. The key in the array can | |
* be used to identify grouping of comparisons. | |
* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## Configure eth0 | |
# | |
# vi /etc/sysconfig/network-scripts/ifcfg-eth0 | |
DEVICE="eth0" | |
NM_CONTROLLED="yes" | |
ONBOOT=yes | |
HWADDR=A4:BA:DB:37:F1:04 | |
TYPE=Ethernet | |
BOOTPROTO=static |