'post_text', 'default_editor' => 'TinyMce', ); $wpEditor = wp_editor($meta, "rad_".$field['name']."_wysiwyg", $settings); return << HTML; } public static function text($meta, $postID, $field) { return <<

HTML; // {{ template }} } public static function number($meta, $postID, $field) { return <<

HTML; } public static function textarea($meta, $postID, $field) { return <<

HTML; } public static function repeater($meta, $postID, $field) { return <<

{{#raw}}

No elements

{{ i+1 }}
Choose Media
Add Row
{{/raw}}
HTML; } public static function image($meta, $postID, $field) { return <<

Choose Image

HTML; } public static function file($meta, $postID, $field) { return <<

Choose File

HTML; } public static function flexRepeater() { return <<
{{#raw}}

You don't have any content variations. Start adding some with the "Add Variation" button below.

{{ v.name }}

ID:{{ chosenMediaParse(f.value).id }}
Size:{{ chosenMediaParse(f.value).filesizeHumanReadable }}
Dimensions:{{ chosenMediaParse(f.value).width }}x{{ chosenMediaParse(f.value).height }}
URL:{{ chosenMediaParse(f.value).url }}
No media chosen
Choose Media
  • {{ r.title }}

{{ f.value.url }}


Type:

Add Cancel
Add Variation {{/raw}}
HTML; } public static function metaBoxToggler($hidden) { // die(var_dump($hidden)); return <<#{{group-name}} {display: none;}
HTML; } }