- 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>
24 lines
815 B
PHP
Executable File
24 lines
815 B
PHP
Executable File
<?php
|
|
/* Prevent direct access */
|
|
|
|
use WPDRMS\ASP\Utils\Plugin;
|
|
|
|
defined('ABSPATH') or die("You can't access this file directly.");
|
|
|
|
foreach ( wd_asp()->front_filters->get('position', 'generic') as $filter ) {
|
|
include( Plugin::templateFilePath('filters/generic/asp-generic-header.php') );
|
|
|
|
switch ($filter->display_mode) {
|
|
case 'checkboxes':
|
|
include(Plugin::templateFilePath('filters/generic/asp-generic-checkboxes.php'));
|
|
break;
|
|
case 'radio':
|
|
include(Plugin::templateFilePath('filters/generic/asp-generic-radio.php'));
|
|
break;
|
|
default:
|
|
include(Plugin::templateFilePath('filters/generic/asp-generic-dropdown.php'));
|
|
break;
|
|
}
|
|
|
|
include(Plugin::templateFilePath('filters/generic/asp-generic-footer.php'));
|
|
} |