Files
roi-theme/wp-content/plugins/thrive-visual-editor/inc/classes/lightspeed/class-emoji.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

29 lines
448 B
PHP
Executable File

<?php
/**
* Thrive Themes - https://thrivethemes.com
*
* @package thrive-visual-editor
*/
namespace TCB\Lightspeed;
if ( ! defined( 'ABSPATH' ) ) {
exit; // Silence is golden!
}
class Emoji {
const DISABLE_EMOJI = '_tve_disable_emoji';
/**
* Checks if emoji scripts are disabled on a certain page
*
* @return bool
*/
public static function is_emoji_disabled() {
return ! empty( get_option( static::DISABLE_EMOJI ) );
}
}