|
@@ 240-244 (lines=5) @@
|
| 237 |
|
} else { |
| 238 |
|
$is_results = false; |
| 239 |
|
} |
| 240 |
|
if ( isset( $wp_query->query_vars['learner_profile'] ) ) { |
| 241 |
|
$is_profile = $wp_query->query_vars['learner_profile']; |
| 242 |
|
} else { |
| 243 |
|
$is_profile = false; |
| 244 |
|
} |
| 245 |
|
|
| 246 |
|
if ( is_sticky() && $is_results ) : |
| 247 |
|
$course_for_results = get_page_by_path( $is_results, OBJECT, 'course' ); |
|
@@ 429-433 (lines=5) @@
|
| 426 |
|
public function lsx_sensei_learner_breadcrumb_filter( $crumbs, $id = 0 ) { |
| 427 |
|
global $wp_query; |
| 428 |
|
|
| 429 |
|
if ( isset( $wp_query->query_vars['learner_profile'] ) ) { |
| 430 |
|
$is_profile = $wp_query->query_vars['learner_profile']; |
| 431 |
|
} else { |
| 432 |
|
$is_profile = false; |
| 433 |
|
} |
| 434 |
|
|
| 435 |
|
if ( is_sticky() && $is_profile ) { |
| 436 |
|
|