| Server IP : 91.220.113.119 / Your IP : 216.73.217.69 Web Server : LiteSpeed System : Linux milad313-ded-e10.tidadns.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64 User : maralloab ( 1965) PHP Version : 8.1.34 Disable Function : mail, show_source, system, shell_exec, passthru, exec, popen, proc_open MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/maralloab/public_html/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' );