HEX
Server: Apache/2.4.62 (Unix) OpenSSL/1.1.1k
System: Linux ns565604.ip-54-39-133.net 4.18.0-553.50.1.el8_10.x86_64 #1 SMP Tue Apr 15 08:09:22 EDT 2025 x86_64
User: greer489 (1034)
PHP: 8.3.19
Disabled: NONE
Upload Files
File: /home/greer489/public_html/wp-content/themes/betheme/functions/theme-hooks.php
<?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' );