PluginProbe ʕ •ᴥ•ʔ
WP All Export – Drag & Drop Export to Any Custom CSV, XML & Excel / trunk
WP All Export – Drag & Drop Export to Any Custom CSV, XML & Excel vtrunk
trunk 0.9.0 0.9.1 1.0.0 1.0.1 1.0.2 1.0.3 1.0.4 1.0.5 1.0.6 1.0.7 1.0.8 1.0.9 1.1.0 1.1.1 1.1.2 1.1.3 1.1.4 1.1.5 1.2.0 1.2.1 1.2.10 1.2.2 1.2.3 1.2.4 1.2.5 1.2.6 1.2.7 1.2.8 1.2.9 1.3.0 1.3.1 1.3.2 1.3.3 1.3.4 1.3.5 1.3.6 1.3.7 1.3.8 1.3.9 1.4.0 1.4.1 1.4.10 1.4.11 1.4.12 1.4.13 1.4.14 1.4.15 1.4.2 1.4.3 1.4.4 1.4.5 1.4.6 1.4.7 1.4.8 1.4.9 1.5.0
wp-all-export / addon-api / templates / new-field.php
wp-all-export / addon-api / templates Last commit date
fields.php 4 weeks ago filters.php 4 weeks ago new-field.php 4 weeks ago
new-field.php
25 lines
1 <?php
2 // phpcs:ignoreFile WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound -- variables in template files inherited from controller render() scope
3 /**
4 * @var $addon \Wpae\AddonAPI\PMXE_Addon_Base
5 * @var $groups array
6 */
7
8 if ( ! defined( 'ABSPATH' ) ) exit;
9
10 ?>
11 <?php foreach ( $groups as $key => $group ) { ?>
12 <optgroup
13 label="<?php echo esc_attr( $addon->name() ); ?> - <?php echo esc_attr( $group['label'] ); ?>">
14 <?php
15 foreach ( $group['fields'] as $field ) {
16 $field_options = serialize( array_merge( $field, [ 'group_id' => $group['id'] ] ) );
17 ?>
18 <option value="<?php echo esc_attr( $addon->slug ); ?>" label="<?php echo esc_attr( $field['key'] ); ?>"
19 options="<?php echo esc_attr( $field_options ); ?>"><?php echo esc_html( $field['label'] ); ?></option>
20 <?php
21 }
22 ?>
23 </optgroup>
24 <?php } ?>
25