- 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>
29 lines
448 B
PHP
Executable File
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 ) );
|
|
}
|
|
|
|
|
|
} |