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,50 @@
<?php
/**
* Thrive Themes - https://thrivethemes.com
*
* @package thrive-ultimatum
*/
namespace TU\Automator;
if ( ! defined( 'ABSPATH' ) ) {
exit; // Silence is golden!
}
class Campaign_Data extends \Thrive\Automator\Items\Data_Object {
public static function get_id() {
return 'campaign_data';
}
public static function get_fields() {
return array(
'campaign_id',
'campaign_name',
'campaign_type',
'campaign_start_date',
'campaign_trigger_type',
'campaign_event_id',
'campaign_user_email',
);
}
public static function create_object( $param ) {
return array(
'campaign_id' => $param['campaign_id'],
'campaign_name' => $param['campaign_name'],
'campaign_type' => $param['campaign_type'],
'campaign_trigger_type' => $param['campaign_trigger_type'],
'campaign_start_date' => $param['campaign_start_date'],
'campaign_event_id' => $param['countdown_event_id'],
'campaign_user_email' => $param['user_email'],
);
}
public function can_provide_email() {
return true;
}
public function get_provided_email() {
return $this->get_value( 'campaign_user_email' );
}
}