- 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>
57 lines
976 B
PHP
Executable File
57 lines
976 B
PHP
Executable File
<?php
|
|
/**
|
|
* Thrive Themes - https://thrivethemes.com
|
|
*
|
|
* @package thrive-ultimatum
|
|
*/
|
|
|
|
namespace TU\Automator;
|
|
if ( ! defined( 'ABSPATH' ) ) {
|
|
exit; // Silence is golden!
|
|
}
|
|
|
|
class Campaign_Id_Data_Field extends \Thrive\Automator\Items\Data_Field {
|
|
/**
|
|
* @inheritDoc
|
|
*/
|
|
public static function get_id() {
|
|
return 'campaign_id';
|
|
}
|
|
|
|
/**
|
|
* @inheritDoc
|
|
*/
|
|
public static function get_supported_filters() {
|
|
return array( 'number_comparison' );
|
|
}
|
|
|
|
/**
|
|
* @inheritDoc
|
|
*/
|
|
public static function get_name() {
|
|
return __( 'ID of the Ultimatum campaign', 'thrive-ult' );
|
|
}
|
|
|
|
/**
|
|
* @inheritDoc
|
|
*/
|
|
public static function get_description() {
|
|
return __( 'User targets by a specific Ultimatum campaign ID', 'thrive-ult' );
|
|
}
|
|
|
|
/**
|
|
* @inheritDoc
|
|
*/
|
|
public static function get_placeholder() {
|
|
return '';
|
|
}
|
|
|
|
public static function get_field_value_type() {
|
|
return static::TYPE_NUMBER;
|
|
}
|
|
|
|
public static function get_dummy_value() {
|
|
return 31;
|
|
}
|
|
}
|