| Server IP : 104.21.4.30 / Your IP : 172.71.81.82 Web Server : Apache System : Linux keen-cori.18-142-40-148.plesk.page 5.15.0-1084-aws #91~20.04.1-Ubuntu SMP Fri May 2 06:59:36 UTC 2025 x86_64 User : simottodesign.com_2tntp341vs7 ( 10011) PHP Version : 8.3.31 Disable Function : opcache_get_status MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /var/www/vhosts/simottodesign.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' );