File ManagerCurrent Directory: wp-content/plugins/header-footer-elementor/inc/widgets-manager/widgets/copyrightLinux appserver-0d5e4f1e-php-cc8da225320a42ba9b7d66cba40b1f03 6.6.123+ #1 SMP PREEMPT_DYNAMIC Wed Mar 11 09:04:28 UTC 2026 x86_64Edit File: copyright-shortcode.php <?php /** * Calling copyright shortcode. * * @package Copyright * @author Brainstorm Force */ namespace HFE\WidgetsManager\Widgets\Copyright; /** * Exit if accessed directly. */ if ( ! defined( 'ABSPATH' ) ) { exit(); } /** * Helper class for the Copyright. * * @since 1.2.0 */ class Copyright_Shortcode { /** * Constructor. */ public function __construct() { add_shortcode( 'hfe_current_year', [ $this, 'display_current_year' ] ); add_shortcode( 'hfe_site_title', [ $this, 'display_site_title' ] ); } /** * Get the hfe_current_year Details. * * @return array | string | void $hfe_current_year Get Current Year Details. */ public function display_current_year() { $hfe_current_year = gmdate( 'Y' ); $hfe_current_year = do_shortcode( shortcode_unautop( $hfe_current_year ) ); if ( ! empty( $hfe_current_year ) ) { return $hfe_current_year; } } /** * Get site title of Site. * * @return string | void. */ public function display_site_title() { $hfe_site_title = get_bloginfo( 'name' ); if ( ! empty( $hfe_site_title ) ) { return $hfe_site_title; } } } new Copyright_Shortcode(); Upload File Directory Listing NameTypeSizeActions.. (Parent Directory)Dircopyright-shortcode.phpFile1.13 KB Rename | Delete | Editcopyright.phpFile5.49 KB Rename | Delete | Editmodule.phpFile963.00 B Rename | Delete | Edit