Warning: Use of undefined constant THEME_VERSION - assumed 'THEME_VERSION'

Hello guys, what is the right code to use? thank you in advance

Warning: Use of undefined constant THEME_VERSION - assumed 'THEME_VERSION' (this will throw an Error in a future version of PHP) in /home/herbalteasaustra/public_html/newhta/wp-content/themes/betheme-child/functions/theme-head.php on line 111



if( ! function_exists( 'mfn_styles' ) )
{
function mfn_styles() 
{
$theme_disable = mfn_opts_get( 'theme-disable' );
// wp_enqueue_style ------------------------------------------------------
wp_enqueue_style( 'style', get_stylesheet_uri(), false, THEME_VERSION, 'all' );
wp_enqueue_style( 'mfn-base', THEME_URI .'/css/base.css', false, THEME_VERSION, 'all' );
wp_enqueue_style( 'mfn-layout', THEME_URI .'/css/layout.css', false, THEME_VERSION, 'all' );
wp_enqueue_style( 'mfn-shortcodes', THEME_URI .'/css/shortcodes.css', false, THEME_VERSION, 'all' );

Comments

Sign In or Register to comment.