| Server IP : 198.71.59.75 / Your IP : 216.73.216.240 Web Server : nginx/1.30.2 System : Linux elegant-dhawan.198-71-59-75.plesk.page 5.15.0-105-generic #115-Ubuntu SMP Mon Apr 15 09:52:04 UTC 2024 x86_64 User : realtyna_guys ( 10000) PHP Version : 8.2.31 Disable Function : opcache_get_status MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /var/www/vhosts/agenttango.com/httpdocs/wp-content/themes/betheme/functions/ |
Upload File : |
<?php
/**
* Hooks
*
* @package Betheme
* @author Muffin group
* @link http://muffingroup.com
*/
/* ---------------------------------------------------------------------------
* Hook | Top
* --------------------------------------------------------------------------- */
if( ! function_exists( 'mfn_hook_top' ) )
{
function mfn_hook_top()
{
echo '<!-- mfn_hook_top -->';
echo do_shortcode( mfn_opts_get( 'hook-top' ) ?? '' );
echo '<!-- mfn_hook_top -->';
}
}
add_action( 'mfn_hook_top', 'mfn_hook_top' );
/* ---------------------------------------------------------------------------
* Hook | Content before
* --------------------------------------------------------------------------- */
if( ! function_exists( 'mfn_hook_content_before' ) )
{
function mfn_hook_content_before()
{
echo '<!-- mfn_hook_content_before -->';
echo do_shortcode( mfn_opts_get( 'hook-content-before' ) ?? '' );
echo '<!-- mfn_hook_content_before -->';
}
}
add_action( 'mfn_hook_content_before', 'mfn_hook_content_before' );
/* ---------------------------------------------------------------------------
* Hook | Content after
* --------------------------------------------------------------------------- */
if( ! function_exists( 'mfn_hook_content_after' ) )
{
function mfn_hook_content_after()
{
echo '<!-- mfn_hook_content_after -->';
echo do_shortcode( mfn_opts_get( 'hook-content-after' ) ?? '' );
echo '<!-- mfn_hook_content_after -->';
}
}
add_action( 'mfn_hook_content_after', 'mfn_hook_content_after' );
/* ---------------------------------------------------------------------------
* Hook | Bottom
* --------------------------------------------------------------------------- */
if( ! function_exists( 'mfn_hook_bottom' ) )
{
function mfn_hook_bottom()
{
echo '<!-- mfn_hook_bottom -->';
echo do_shortcode( mfn_opts_get( 'hook-bottom' ) ?? '' );
echo '<!-- mfn_hook_bottom -->';
}
}
add_action( 'mfn_hook_bottom', 'mfn_hook_bottom' );