Skip to content

Commit

Permalink
Removed fallbacks for bootscore_main_col_class, `bootscore_sidebar_…
Browse files Browse the repository at this point in the history
…col_class`, `bootscore_sidebar_toggler_class`, `bootscore_sidebar_offcanvas_class` and `bootscore_container_class`
  • Loading branch information
crftwrk committed Mar 19, 2024
1 parent 2dd840d commit 1f5d803
Showing 1 changed file with 0 additions and 37 deletions.
37 changes: 0 additions & 37 deletions inc/deprecated.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,40 +11,3 @@
// Exit if accessed directly
defined('ABSPATH') || exit;











/*
* Check if the old functions which were used for simple classes are used in the child theme
* If so, we transform them to use the new filter hooks
*/
if (function_exists('bootscore_main_col_class')) {
add_filter('bootscore/class/col/main', 'bootscore_main_col_class', 100);
}

if (function_exists('bootscore_sidebar_col_class')) {
add_filter('bootscore/class/col/sidebar', 'bootscore_sidebar_col_class', 100);
}

if (function_exists('bootscore_sidebar_toggler_class')) {
add_filter('bootscore/sidebar/toggler_class', 'bootscore_sidebar_toggler_class', 100);
}

if (function_exists('bootscore_sidebar_offcanvas_class')) {
add_filter('bootscore_sidebar_offcanvas_class', 'bootscore_sidebar_offcanvas_class', 100);
}

if (function_exists('bootscore_container_class')) {
add_filter('bootscore/class/container', 'bootscore_container_class', 100);
}




0 comments on commit 1f5d803

Please sign in to comment.