cart->cart_contents_count;
?>
'; // Tag before the current Breadcrumb
$after = ''; // Tag after the current Breadcrumb
$seprator = get_theme_mod('seprator','>');
global $post;
$homeLink = home_url();
if (is_home() || is_front_page()) {
if ($showOnHome == 1) echo '
';
}
}
/*******************************************************************************
* Get Started Notice
*******************************************************************************/
add_action( 'wp_ajax_astrocare_dismissed_notice_handler', 'astrocare_ajax_notice_handler' );
/**
* AJAX handler to store the state of dismissible notices.
*/
function astrocare_ajax_notice_handler() {
if ( isset( $_POST['type'] ) ) {
// Pick up the notice "type" - passed via jQuery (the "data-notice" attribute on the notice)
$type = sanitize_text_field( wp_unslash( $_POST['type'] ) );
// Store it in the options table
update_option( 'dismissed-' . $type, TRUE );
}
}
function astrocare_deprecated_hook_admin_notice() {
// Check if it's been dismissed...
if ( ! get_option('dismissed-get_started', FALSE ) ) {
// Added the class "notice-get-started-class" so jQuery pick it up and pass via AJAX,
// and added "data-notice" attribute in order to track multiple / different notices
// multiple dismissible notice states ?>
'. wp_get_theme()->get('Name'). '' );
?>
Burger Companion plugin for taking full advantage of all the features this theme has to offer.', 'astrocare')) ?>