Current File : /home/kelaby89/muzza.fit/wp-content/themes/deadlift/inc/wolf-core-extend.php
<?php
/**
 * Wolf Core theme related functions
 *
 * @package WordPress
 * @subpackage Deadlift
 * @version 1.8.2
 */

if ( ! defined( 'ABSPATH' ) || ! class_exists( 'Wolf_Core' ) ) {
	return;
}

if ( ! defined( 'WPB_VC_VERSION' ) && ! did_action( 'elementor/loaded' ) ) {
	return;
}

/**
 * Add theme accent color to shared colors
 *
 * @param array $colors The colors array options.
 * @return array
 */
function deadlift_add_accent_color_option( $colors ) {

	$colors = array( 'accent' => esc_html__( 'Theme Accent Color', 'deadlift' ) ) + $colors;

	return $colors;
}
add_filter( 'wolf_core_elementor_colors', 'deadlift_add_accent_color_option', 14 );

/**
 * Filter theme accent color
 *
 * @param string $color The color to filter.
 * @return string
 */
function deadlift_set_theme_accent_color( $color ) {
	return deadlift_get_inherit_mod( 'accent_color' );
}
add_filter( 'wolf_core_theme_accent_color', 'deadlift_set_theme_accent_color' );
Page not found – Hello World !