|
@@ 269-273 (lines=5) @@
|
| 266 |
|
} else { |
| 267 |
|
$is_results = false; |
| 268 |
|
} |
| 269 |
|
if ( isset( $wp_query->query_vars['learner_profile'] ) ) { |
| 270 |
|
$is_profile = $wp_query->query_vars['learner_profile']; |
| 271 |
|
} else { |
| 272 |
|
$is_profile = false; |
| 273 |
|
} |
| 274 |
|
|
| 275 |
|
if ( is_sticky() && $is_results ) : |
| 276 |
|
$course_for_results = get_page_by_path( $is_results, OBJECT, 'course' ); |
|
@@ 460-464 (lines=5) @@
|
| 457 |
|
public function lsx_sensei_learner_breadcrumb_filter( $crumbs, $id = 0 ) { |
| 458 |
|
global $wp_query; |
| 459 |
|
|
| 460 |
|
if ( isset( $wp_query->query_vars['learner_profile'] ) ) { |
| 461 |
|
$is_profile = $wp_query->query_vars['learner_profile']; |
| 462 |
|
} else { |
| 463 |
|
$is_profile = false; |
| 464 |
|
} |
| 465 |
|
|
| 466 |
|
if ( is_sticky() && $is_profile ) { |
| 467 |
|
|