Changeset 12067 for sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn-2020/functions.php
- Timestamp:
- 09/15/2022 09:23:21 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn-2020/functions.php
r12064 r12067 245 245 'icon' => 'clock', 246 246 'slug' => 'duration', 247 'label' => wporg_label_with_colon( get_taxonomy_labels( get_taxonomy( 'duration' ) )->singular_name ),247 'label' => get_taxonomy_labels( get_taxonomy( 'duration' ) )->singular_name, 248 248 'value' => wporg_learn_get_taxonomy_terms( $post_id, 'duration', $context ), 249 249 ), … … 251 251 'icon' => 'admin-users', 252 252 'slug' => 'audience', 253 'label' => wporg_label_with_colon( get_taxonomy_labels( get_taxonomy( 'audience' ) )->singular_name ),253 'label' => get_taxonomy_labels( get_taxonomy( 'audience' ) )->singular_name, 254 254 'value' => wporg_learn_get_taxonomy_terms( $post_id, 'audience', $context ), 255 255 ), … … 257 257 'icon' => 'dashboard', 258 258 'slug' => 'level', 259 'label' => wporg_label_with_colon( get_taxonomy_labels( get_taxonomy( 'level' ) )->singular_name ),259 'label' => get_taxonomy_labels( get_taxonomy( 'level' ) )->singular_name, 260 260 'value' => wporg_learn_get_taxonomy_terms( $post_id, 'level', $context ), 261 261 ), … … 263 263 'icon' => 'welcome-learn-more', 264 264 'slug' => 'type', 265 'label' => wporg_label_with_colon( get_taxonomy_labels( get_taxonomy( 'instruction_type' ) )->singular_name ),265 'label' => get_taxonomy_labels( get_taxonomy( 'instruction_type' ) )->singular_name, 266 266 'value' => wporg_learn_get_taxonomy_terms( $post_id, 'instruction_type', $context ), 267 267 ), … … 708 708 709 709 case 'lesson-plan': 710 $args['meta'] = wporg_learn_get_lesson_plan_taxonomy_data( $post_id, 'archive' );710 $args['meta'] = wporg_learn_get_lesson_plan_taxonomy_data( $post_id, 'archive' ); 711 711 break; 712 712
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)