yan-k
5/17/2016 - 8:01 AM

Avia Shortcodes Override Place override shortcodes in /avia-override-shortcodes/

Avia Shortcodes Override

Place override shortcodes in /avia-override-shortcodes/

/**
 * Avia Shortcode Overrides
 */
add_filter('avia_load_shortcodes', 'avia_include_shortcode_template', 15, 1);
function avia_include_shortcode_template($paths)
{
	$template_url = get_stylesheet_directory();
	array_unshift($paths, $template_url.'/avia-override-shortcodes/');

	return $paths;
}