Files
roi-theme/wp-content/plugins/thrive-ultimatum/inc/classes/class-tu-campaign-event.php
root a22573bf0b 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>
2025-11-03 21:04:30 -06:00

64 lines
1.0 KiB
PHP
Executable File

<?php
/**
* Created by PhpStorm.
* User: Pop Aurelian
* Date: 10-Mar-16
* Time: 12:32 PM
*/
class TU_Campaign_Event {
const TRIGGER_SPECIFIC = 'specific';
const TRIGGER_CONVERSION = 'conversion';
const TYPE_END = 'end';
const TYPE_MOVE = 'move';
/**
* TU_Campaign_Event constructor.
*/
public function __construct() {
}
/**
* Get triggers
*
* @return array
*/
public static function get_triggers() {
if ( function_exists( 'tve_leads_get_groups' ) ) {
$items[ self::TRIGGER_CONVERSION ] = array(
'title' => __( 'User subscription', 'thrive-ult' ),
);
}
$items[ self::TRIGGER_SPECIFIC ] = array(
'title' => __( 'Visit to conversion page', 'thrive-ult' ),
);
return $items;
}
/**
* Get triggers
*
* @return array
*/
public static function get_types() {
$items = array(
self::TYPE_END => array(
'title' => __( 'End Campaign', 'thrive-ult' ),
),
self::TYPE_MOVE => array(
'title' => __( 'Move to another Campaign', 'thrive-ult' ),
),
);
return $items;
}
}