- WordPress core y plugins - Tema Twenty Twenty-Four configurado - Plugin allow-unfiltered-html.php simplificado - .gitignore configurado para excluir wp-config.php y uploads 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
37 lines
1.2 KiB
PHP
Executable File
37 lines
1.2 KiB
PHP
Executable File
<td class="remove">
|
|
<span>IF</span>
|
|
<a href="#" class="bwfan-remove-rule bwfan-button-remove">Delete</a>
|
|
</td>
|
|
<td class="rule-type">
|
|
<?php
|
|
$types = apply_filters( 'bwfan_rule_get_rule_types', array() );
|
|
// create field
|
|
$args = array(
|
|
'input' => 'select',
|
|
'name' => 'bwfan_rule[<%= groupId %>][<%= ruleId %>][rule_type]',
|
|
'class' => 'rule_type',
|
|
'choices' => $types,
|
|
'allow_null' => true,
|
|
'null_text' => __( 'Select a rule', 'wp-marketing-automations' ),
|
|
);
|
|
|
|
?>
|
|
|
|
<select id="" class="rule_type" name="bwfan_rule[<%= groupId %>][<%= ruleId %>][rule_type]">
|
|
<option value="null"> Select a rule</option>
|
|
|
|
<% _(ruleSet).each(function(k,v) { %>
|
|
<optgroup label="<%= typeof rulesGroups[v] !== 'undefined' ? rulesGroups[v].title : v %>">
|
|
<% _(k).each(function(k,v) { %>
|
|
<option value="<%= v %>"><%= k %></option>
|
|
<% }) %>
|
|
</optgroup>
|
|
<% }) %>
|
|
|
|
</select>
|
|
|
|
</td>
|
|
|
|
<td class="loading" colspan="2" style="display:none;"><?php esc_html_e( 'Loading...', 'wp-marketing-automations' ); ?></td>
|
|
<td class="add"><a href="#" class="bwfan-add-rule button"><?php esc_html_e( 'AND', 'wp-marketing-automations' ); ?></a></td>
|