????

Your IP : 3.145.64.210


Current Path : /home2/morganrand/backup.morganrand.com/wp-content/themes/wanderfuls/framework/
Upload File :
Current File : /home2/morganrand/backup.morganrand.com/wp-content/themes/wanderfuls/framework/deprecated.php

<?php
/**
 * Deprecated functions
 *
 * @package Wanderfuls WordPress Theme
 * @subpackage Framework
 */

/*-----------------------------------------------------------------------------------*/
/*  - Rename old functions for better consistancy
/*-----------------------------------------------------------------------------------*/
function tb_footer_reveal_enabled( $post_id = '' ) {
	return tb_has_footer_reveal( $post_id );
}
function tb_display_callout( $post_id = '' ) {
	return tb_global_obj( 'has_footer_callout' );
}
function tb_display_page_header() {
	tb_page_header();
}
function tb_display_page_header_title() {
	tb_page_header_title();
}
function tb_header_layout() {
	// Do nothing, new function tb_site_header is added via hook
}
function tb_toggle_bar_active() {
	return tb_has_togglebar();
}
function tb_toggle_bar_btn() {
	return tb_toggle_bar_button();
}
function tb_get_post_layout_class() {
	return tb_post_layout();
}
function tb_overlay_classname() {
	return tb_overlay_classes();
}
function tb_img_animation_classes() {
	return tb_entry_image_animation_classes();
}

/*-----------------------------------------------------------------------------------*/
/*  - Prevent error notices in template parts - hopefully we caught them all?
/*  - DON'T REMOVE THESE EVER!!!
/*-----------------------------------------------------------------------------------*/
function tb_get_the_id() {
	return tb_global_obj( 'post_id' );
}
function tb_get_post_layout() {
	return tb_global_obj( 'post_layout' );
}
function tb_header_logo_img() {
	return tb_global_obj( 'header_logo' );
}
function tb_get_page_subheading() {
	return tb_global_obj( 'get_page_subheading' );
}
function tb_is_front_end_composer() {
	if ( function_exists( 'vc_is_inline' ) ) {
		return vc_is_inline();
	}
}
function tb_top_bar_content() {
	return tb_global_obj( 'top_bar_content' );
}

/*-----------------------------------------------------------------------------------*/
/*  - Display Deprecated notices
/*-----------------------------------------------------------------------------------*/
function tb_header_search_placeholder() {
	_deprecated_function( 'tb_header_search_placeholder', '3.0.0', false );
}
function tb_option() {
	_deprecated_function( 'tb_option', '1.6.0', 'tb_get_mod' );
}
function tb_image() {
	_deprecated_function( 'tb_image', '2.0.0', 'tb_get_post_thumbnail' );
}
function tb_mobile_menu() {
	_deprecated_function( 'tb_mobile_menu', '2.0.0', 'tb_mobile_menu_icons' );
}
function tb_post_has_composer() {
	_deprecated_function( 'tb_post_has_composer', '2.0.0', 'tb_has_composer' );
}
function tb_display_header() {
	_deprecated_function( 'tb_display_header', '2.0.0', 'tb_global_obj' );
}
function tb_display_footer() {
	_deprecated_function( 'tb_display_footer', '2.0.0', 'tb_has_footer' );
}
function tb_has_footer() {
	_deprecated_function( 'tb_display_footer', '3.0.0', 'tb_global_obj' );
}
function tb_display_footer_widgets() {
	_deprecated_function( 'tb_display_footer_widgets', '2.0.0', 'tb_has_footer_widgets' );
}
function tb_page_title() {
	_deprecated_function( 'tb_page_title', '2.0.0', 'tb_title' );
}

function tb_post_subheading() {
	_deprecated_function( 'tb_post_subheading', '2.0.0', 'tb_page_header_subheading' );
}

function tb_hook_header_before_default() {
	_deprecated_function( 'tb_hook_header_before_default', '2.0.0' );
}

function tb_hook_header_inner_default() {
	_deprecated_function( 'tb_hook_header_inner_default', '2.0.0' );
}

function tb_hook_header_bottom_default() {
	_deprecated_function( 'tb_hook_header_bottom_default', '2.0.0' );
}

function tb_hook_main_top_default() {
	_deprecated_function( 'tb_hook_main_top_default', '2.0.0' );
}

function tb_hook_sidebar_inner_default() {
	_deprecated_function( 'tb_hook_sidebar_inner_default', '2.0.0' );
}

function tb_hook_footer_before_default() {
	_deprecated_function( 'tb_hook_footer_before_default', '2.0.0' );
}

function tb_hook_footer_inner_default() {
	_deprecated_function( 'tb_hook_footer_inner', '2.0.0' );
}

function tb_hook_footer_after_default() {
	_deprecated_function( 'tb_hook_footer_after', '2.0.0' );
}

function tb_hook_wrap_after_default() {
	_deprecated_function( 'tb_hook_wrap_after_default', '2.0.0' );
}

function tb_theme_setup() {
	_deprecated_function( 'tb_theme_setup', '1.6.0' );
}

function tb_get_template_part() {
	_deprecated_function( 'tb_get_template_part', '1.6.0', 'get_template_part' );
}

function tb_active_post_types() {
	_deprecated_function( 'tb_active_post_types', '1.6.0' );
}

function tb_jpeg_quality() {
	_deprecated_function( 'tb_jpeg_quality', '1.6.0' );
}

function tb_favicons() {
	_deprecated_function( 'tb_favicons', '1.6.0' );
}

function tb_get_woo_product_first_cat() {
	_deprecated_function( 'tb_get_woo_product_first_cat', '1.6.0' );
}

function tb_global_config() {
	_deprecated_function( 'tb_global_config', '1.6.0' );
}

function tb_ie8_css() {
	_deprecated_function( 'tb_ie8_css', '1.6.0' );
}

function tb_html5() {
	_deprecated_function( 'tb_html5', '1.6.0' );
}

function tb_load_scripts() {
	_deprecated_function( 'tb_load_scripts', '1.6.0' );
}

function tb_remove_wp_ver_css_js() {
	_deprecated_function( 'tb_remove_wp_ver_css_js', '1.6.0' );
}

function tb_output_css() {
	_deprecated_function( 'tb_output_css', '1.6.0' );
}

function tb_header_output() {
	_deprecated_function( 'tb_header_output', '1.6.0', 'tb_header_layout' );
}

function tb_footer_copyright() {
	_deprecated_function( 'tb_footer_copyright', '1.6.0', 'get_template_part' );
}

function tb_topbar_output() {
	_deprecated_function( 'tb_topbar_output', '1.6.0', 'get_template_part' );
}

function tb_top_bar_social() {
	_deprecated_function( 'tb_top_bar_social', '1.6.0', 'get_template_part' );
}

function tb_portfolio_single_media() {
	_deprecated_function( 'tb_portfolio_single_media', '1.6.0', 'get_template_part' );
}

function tb_portfolio_related() {
	_deprecated_function( 'tb_portfolio_related', '1.6.0', 'get_template_part' );
}

function tb_staff_entry_media() {
	_deprecated_function( 'tb_staff_entry_media', '1.6.0', 'get_template_part' );
}

function tb_staff_related() {
	_deprecated_function( 'tb_staff_related', '1.6.0', 'get_template_part' );
}

function tb_blog_related() {
	_deprecated_function( 'tb_blog_related', '1.6.0', 'get_template_part' );
}

function tb_blog_entry_display() {
	_deprecated_function( 'tb_blog_entry_display', '1.6.0', 'get_template_part' );
}

function tb_blog_entry_image() {
	_deprecated_function( 'tb_blog_entry_image', '1.6.0', 'get_template_part' );
}

function tb_post_entry_author_avatar() {
	_deprecated_function( 'tb_post_entry_author_avatar', '1.6.0', 'get_template_part' );
}

function tb_blog_entry_title() {
	_deprecated_function( 'tb_blog_entry_title', '1.6.0', 'get_template_part' );
}

function tb_blog_entry_header() {
	_deprecated_function( 'tb_blog_entry_header', '1.6.0', 'get_template_part' );
}

function tb_blog_entry_content() {
	_deprecated_function( 'tb_blog_entry_content', '1.6.0', 'get_template_part' );
}

function tb_blog_entry_media() {
	_deprecated_function( 'tb_blog_entry_media', '1.6.0', 'get_template_part' );
}

function tb_blog_entry_link_format_image() {
	_deprecated_function( 'tb_blog_entry_link_format_image', '1.6.0', 'get_template_part' );
}

function tb_post_readmore_link() {
	_deprecated_function( 'tb_post_readmore_link', '1.6.0', 'get_template_part' );
}

function tb_blog_entry_video() {
	_deprecated_function( 'tb_blog_entry_video', '1.6.0', 'get_template_part' );
}

function tb_blog_entry_audio() {
	_deprecated_function( 'tb_blog_entry_audio', '1.6.0', 'get_template_part' );
}

function tb_post_meta() {
	_deprecated_function( 'tb_post_meta', '1.6.0', 'get_template_part' );
}

function tb_post_entry_classes() {
	_deprecated_function( 'tb_post_entry_classes', '1.6.0' );
}

function vcex_advanced_parallax() {
	_deprecated_function( 'vcex_advanced_parallax', '2.0.2', 'vcex_parallax_bg' );
}

function vcex_front_end_carousel_js() {
	_deprecated_function( 'vcex_front_end_carousel_js', '2.0.0', 'vcex_inline_js' );
}

function tb_breadcrumbs_get_parents() {
	_deprecated_function( 'tb_breadcrumbs_get_parents', '1.0.5', false );
}

function tb_breadcrumbs_get_term_parents() {
	_deprecated_function( 'tb_breadcrumbs_get_term_parents', '1.0.5', false );
}