HEX
Server: Apache
System: Linux server-674799.igrow.ws 5.14.0-611.27.1.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Feb 4 04:40:11 EST 2026 x86_64
User: elrashedytravel (1025)
PHP: 8.1.34
Disabled: exec,passthru,shell_exec,system
Upload Files
File: /home/elrashedytravel/public_html/wp-content/plugins/current-year-shortcode/shortcodes/symbols.php
<?php
/**
 * Includes shortocdes of symbols (copyright symbol is in copyright.php)
 * Plugin: Current Year and Symbols Shortcode
 * Since: 2.3.2
 * Author: KGM Servizi
 * License: GPLv2 or later
 * License URI: https://www.gnu.org/licenses/gpl-2.0.html
 */

if ( ! defined( 'ABSPATH' ) ) {
	exit; // Exit if accessed directly
}

/**
 * Retrieve registered trademark symbol (®)
 * 
 * @param array $atts Shortcode attributes (not used)
 * @return string The registered trademark symbol, escaped for safe output
 */
add_shortcode( 't', 'cys_registered_trademark' );
function cys_registered_trademark( $atts ){
  return esc_html('®');
}

/**
 * Retrieve trademark symbol (™)
 * 
 * @param array $atts Shortcode attributes (not used)
 * @return string The trademark symbol, escaped for safe output
 */
add_shortcode( 'tm', 'cys_trademark' );
function cys_trademark( $atts ){
  return esc_html('™');
}

/**
 * Retrieve service mark symbol (℠)
 * 
 * @param array $atts Shortcode attributes (not used)
 * @return string The service mark symbol, escaped for safe output
 */
add_shortcode( 'sm', 'cys_servicemark_trademark' );
function cys_servicemark_trademark( $atts ){
  return esc_html('℠');
}