- 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>
20 lines
374 B
PHP
Executable File
20 lines
374 B
PHP
Executable File
<?php
|
|
namespace WPDRMS\ASP\Shortcodes;
|
|
|
|
use WPDRMS\ASP\Patterns\SingletonTrait;
|
|
|
|
if ( !defined('ABSPATH') ) {
|
|
die('-1');
|
|
}
|
|
|
|
class AjaxSearchLite extends AbstractShortcode {
|
|
use SingletonTrait;
|
|
|
|
public function handle( $atts ): string {
|
|
foreach ( wd_asp()->instances->get() as $instance ) {
|
|
return do_shortcode("[wd_asp id={$instance['id']}]");
|
|
}
|
|
return '';
|
|
}
|
|
}
|