first commit
This commit is contained in:
16
vendor/wpcfto/metaboxes/fields/html.php
vendored
Normal file
16
vendor/wpcfto/metaboxes/fields/html.php
vendored
Normal file
@@ -0,0 +1,16 @@
|
||||
<?php
|
||||
/**
|
||||
* Custom HTML field template for WPCFTO.
|
||||
*
|
||||
* Variables available:
|
||||
* - $field
|
||||
* - $field_id
|
||||
* - $field_value
|
||||
* - $field_label
|
||||
* - $field_name
|
||||
* - $section_name
|
||||
*/
|
||||
|
||||
$field = "data['{$section_name}']['fields']['{$field_name}']";
|
||||
?>
|
||||
<wpcfto_html :fields='<?php echo esc_attr($field); ?>'></wpcfto_html>
|
||||
Reference in New Issue
Block a user