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
{~ ui~hello {+ <div>Willow says {{ hello }}</div> +} ~} |
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
<div>Willow says Hello</div> |
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
<html> | |
<head> | |
<script type='text/javascript' src='https://code.jquery.com/jquery-1.12.4.min.js'></script> | |
<script type='text/javascript'src='https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.12.9/umd/popper.min.js'></script> | |
<script type='text/javascript' src='https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/js/bootstrap.min.js'></script> | |
<style>body.debug :not(.nodebug) { border: 1px dashed pink !important; }</style> | |
<title>Q Studio ~ Bootstrap Helper</title> | |
</head> | |
<body> | |
<script> |
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
// Add the filter ## | |
\add_filter( 'q/eud/export/field', [ get_class(), 'field_key' ], 10, 1 ); | |
/** | |
* Filter keys in EUD plugin | |
* | |
* @since 2.0.0 | |
*/ | |
public static function field_key( $string = null ) | |
{ |
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
// admin display key ## | |
\add_filter( 'q/eud/admin/display_key', [ get_class(), 'display_key' ], 10, 1 ); | |
/** | |
* Filter keys in EUD plugin | |
* | |
* @since 2.0.0 | |
*/ | |
public static function display_key( $string = null ) | |
{ |
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
// common keys -- could be built using a seperate query ## | |
\add_filter( 'q/eud/admin/meta_keys_common', [ get_class(), 'meta_keys_common' ], 10, 1 ) | |
/** | |
* Return list of commmon keys | |
* | |
* @since 2.0.0 | |
*/ | |
public static function meta_keys_common() | |
{ |
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
// EUD - field key encoding ## | |
\add_filter( 'q/eud/export/value', [ get_class(), 'format_value' ], 10, 2 ); | |
/** | |
* Filter export key value in EUD plugin | |
* | |
* @since 2.0.0 | |
*/ | |
public static function format_value( $value = null, $field = null ) | |
{ |
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
// EUD - export args ## | |
\add_filter( 'q/eud/export/args', [ get_class(), 'export_args' ], 10, 1 ); | |
/** | |
* Filter export args in EUD plugin | |
* | |
* @since 2.0.0 | |
*/ | |
public static function export_args( $args = null ) | |
{ |
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
// EUD - admin fields ## | |
\add_filter( 'q/eud/api/admin/fields', [ get_class(), 'api_admin_fields' ], 10, 1 ); | |
/** | |
* Filter add extra admin fields in EUD plugin | |
* | |
* @since 2.0.0 | |
*/ | |
public static function api_admin_fields( $array ) | |
{ |
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 | |
// crude instantiation ## | |
$ui = new ui(); | |
$ui->hooks(); | |
class ui { | |
function __construct(){} |