- 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>
42 lines
668 B
PHP
Executable File
42 lines
668 B
PHP
Executable File
<?php
|
|
/**
|
|
* Thrive Themes - https://thrivethemes.com
|
|
*
|
|
* @package thrive-visual-editor
|
|
*/
|
|
|
|
namespace TCB\ConditionalDisplay\Entities;
|
|
|
|
use TCB\ConditionalDisplay\Entity;
|
|
|
|
if ( ! defined( 'ABSPATH' ) ) {
|
|
exit; // Silence is golden!
|
|
}
|
|
|
|
class Time extends Entity {
|
|
|
|
/**
|
|
* @return string
|
|
*/
|
|
public static function get_key() {
|
|
return 'time_data';
|
|
}
|
|
|
|
public static function get_label() {
|
|
return esc_html__( 'Time and date', 'thrive-cb' );
|
|
}
|
|
|
|
public function create_object( $param ) {
|
|
return '';
|
|
}
|
|
|
|
/**
|
|
* Determines the display order in the modal entity select
|
|
*
|
|
* @return int
|
|
*/
|
|
public static function get_display_order() {
|
|
return 15;
|
|
}
|
|
}
|