Commit inicial - WordPress Análisis de Precios Unitarios

- 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>
This commit is contained in:
root
2025-11-03 21:04:30 -06:00
commit a22573bf0b
24068 changed files with 4993111 additions and 0 deletions

View File

@@ -0,0 +1,33 @@
<?php
if ( ! defined( 'ABSPATH' ) ) {
exit; // Exit if accessed directly
}
class BWFAN_FK_Fetch_Bumps {
private static $ins = null;
public static function get_instance() {
if ( null === self::$ins ) {
self::$ins = new self();
}
return self::$ins;
}
public function get_slug() {
return 'fk_fetch_bumps';
}
public function get_options( $search ) {
return BWFAN_PRO_Common::get_bumps( $search );
}
}
if ( class_exists( 'BWFAN_Load_Custom_Search' ) ) {
BWFAN_Load_Custom_Search::register( 'BWFAN_FK_Fetch_Bumps' );
}

View File

@@ -0,0 +1,45 @@
<?php
if ( ! defined( 'ABSPATH' ) ) {
exit; // Exit if accessed directly
}
class BWFAN_FK_Fetch_Offers {
private static $ins = null;
public static function get_instance() {
if ( null === self::$ins ) {
self::$ins = new self();
}
return self::$ins;
}
public function get_slug() {
return 'fk_fetch_offers';
}
public function get_options( $search ) {
return BWFAN_Pro_Common::get_offers( $search );
}
public static function get_data( $args, $search ) {
$posts = get_posts( $args );
$offers = [];
foreach ( $posts as $post ) {
$offers[ $post->ID ] = $post->post_title . '(#' . $post->ID . ')';
}
return array_filter( $offers, function ( $offer ) use ( $search ) {
return false !== strpos( strtolower( $offer ), strtolower( $search ) );
} );
}
}
if ( class_exists( 'BWFAN_Load_Custom_Search' ) ) {
BWFAN_Load_Custom_Search::register( 'BWFAN_FK_Fetch_Offers' );
}

View File

@@ -0,0 +1,2 @@
<?php
// Silence is golden.